Less than 1 minute
boolify
Normalize boolean values.
public boolify({Array})
This helper function will take a string representation of a boolean such as 't', 'true', 'yes', 'ok' and return a boolean type value.
Parameters
Parameter | Type | Description |
---|---|---|
$value | mixed | The string representation of the boolean |
Generated by Hazaar API Doc Generator