Scalar FunctionsType Functions
asbool
Extract a boolean from a dynamic or pass through a bool value. Other types become null.
Syntax
asbool(value)Parameters
Prop
Type
Returns: bool
Examples
Example 1
print asbool(dynamic(true))| print_0 (bool) |
|---|
| true |
Extract a boolean from a dynamic or pass through a bool value. Other types become null.
asbool(value)Prop
Type
Returns: bool
print asbool(dynamic(true))| print_0 (bool) |
|---|
| true |