Function: implicitBool()
implicitBool(str
): null
| boolean
Checks if the given value is 'true'
or 'false'
. If it is, it returns the boolean value. Otherwise, it returns null
Parameters
• str: string
The string to check
Returns
null
| boolean