and
Returnstrue if ALL arguments are truthy.
true
false
or
Returnstrue if ANY argument is truthy.
true
not
Inverts a boolean value.false
isEmpty
Returnstrue if the value is empty (null, undefined, empty string, empty array, or empty object).
true
true
isNotEmpty
Returnstrue if the value is NOT empty.
true
ternary
Returns one value if condition is true, another if false (inline if-else).| Argument | Type | Description |
|---|---|---|
condition | any | Value to test for truthiness |
ifTrue | any | Value to return if true |
ifFalse | any | Value to return if false |
default
Returns a default value if the primary value is null, undefined, or empty string.| Argument | Type | Description |
|---|---|---|
value | any | Primary value to check |
defaultValue | any | Fallback if primary is empty |

