toBoolean
toBoolean(
val):val is "true"
Defined in: casting.ts:4
Whether the value is exactly the string "true".
Parameters
Section titled “Parameters”string | undefined
Returns
Section titled “Returns”val is "true"
toBoolean(
val):val is "true"
Defined in: casting.ts:4
Whether the value is exactly the string "true".
string | undefined
val is "true"