Skip to content

toBoolean

toBoolean(val): val is "true"

Defined in: casting.ts:4

Whether the value is exactly the string "true".

string | undefined

val is "true"