22 lines
673 B
Markdown

# Function boolean
Create a boolean or convert a string or number to a boolean. In case of a number, true is returned for non-zero numbers, and false in case of zero. Strings can be 'true' or 'false', or can contain a number. When value is a matrix, all elements will be converted to boolean.
### Parameters
Parameter | Type | Description
--------- | ---- | -----------
`value` | String | Number | Boolean | Array | Matrix |
### Returns
Type | Description
---- | -----------
Boolean | Array | Matrix | bool
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->