---
title: "ShaderGraph.Value.bool(_:)"
framework: realitykit
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/shadergraph/value/bool(_:)"
---

# ShaderGraph.Value.bool(_:)

## Declaration

```swift
case bool(Bool)
```
