Boolean
import { and, isBoolean, not } from '@rtorcato/js-common/boolean'
Exports
| Name | Summary |
|---|---|
and | Logical AND for two booleans. |
isBoolean | Checks if a value is a boolean. |
not | Logical NOT for a boolean. |
or | Logical OR for two booleans. |
toBoolean | Converts a value to a boolean. |
xor | Returns the logical exclusive OR (XOR) of two booleans. |