> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# boolean

## Chainable Ops

### <a id="and" />`and`

Returns the logical `and` of the two values

| Argument | Description |
| :- | :- |
| `lhs` | First binary value |
| `rhs` | Second binary value |

#### Return Value

The logical `and` of the two values

### <a id="or" />`or`

Returns the logical `or` of the two values

| Argument | Description |
| :- | :- |
| `lhs` | First binary value |
| `rhs` | Second binary value |

#### Return Value

The logical `or` of the two values

### <a id="boolean-not" />`boolean-not`

Returns the logical inverse of the value

| Argument | Description |
| :- | :- |
| `bool` | The boolean value |

#### Return Value

The logical inverse of the value

### <a id="boolean-not-2" />`boolean-not`

Returns the logical inverse of the value

| Argument | Description |
| :- | :- |
| `bool` | The boolean value |

#### Return Value

The logical inverse of the value

## List Ops

### <a id="and-list" />`and`

Returns the logical `and` of the two values

| Argument | Description |
| :- | :- |
| `lhs` | First binary value |
| `rhs` | Second binary value |

#### Return Value

The logical `and` of the two values

### <a id="or-list" />`or`

Returns the logical `or` of the two values

| Argument | Description |
| :- | :- |
| `lhs` | First binary value |
| `rhs` | Second binary value |

#### Return Value

The logical `or` of the two values

### <a id="boolean-not-list" />`boolean-not`

Returns the logical inverse of the value

| Argument | Description |
| :- | :- |
| `bool` | The boolean value |

#### Return Value

The logical inverse of the value

### <a id="boolean-not-2-list" />`boolean-not`

Returns the logical inverse of the value

| Argument | Description |
| :- | :- |
| `bool` | The boolean value |

#### Return Value

The logical inverse of the value


## Related topics

- [How do I flag boolean variables as hyperparameters?](/support/models/articles/how-do-i-flag-boolean-variables-as-hyperparameters.md)
