Extends
Methods
(static) cast(value) → {boolean}
Casts the specified value to boolean.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- Type
- boolean
(static) validate(value) → {boolean}
Determines whether a value can be cast to boolean.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- always true
- Type
- boolean