NewBool
Creates a Bool.
def NewBool(
initial: bool
) - > Bool
Creates a Bool object. Call this function to initialize a new boolean value.
Parameters
| Name | Type | Description |
|---|---|---|
| initial | bool | The initial boolean value to set for the new Bool object. |
Returns
| Type | Description |
|---|---|
Bool | A new Bool object with the specified initial value. |