typefinity
Preparing search index...
isTruthy
Function isTruthy
isTruthy
<
T
>
(
value
:
T
)
:
value
is
Exclude
<
T
,
false
|
""
|
0
>
Verify if the given value is truthy
Type Parameters
T
Parameters
value
:
T
The value to check
Returns
value
is
Exclude
<
T
,
false
|
""
|
0
>
True if the value is truthy
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
typefinity
Loading...
Verify if the given value is truthy