Preparing search index...
The search index is not available
@ocubist/error-alchemy - v0.9.3
@ocubist/error-alchemy
assertTruthy
Function assertTruthy
assert
Truthy
<
T
>
(
value
)
:
asserts
value
is
NonNullable
<
T
>
Asserts that a given value is truthy.
Type Parameters
T
Parameters
value
:
T
The value to be checked for truthiness.
Returns
asserts
value
is
NonNullable
<
T
>
Throws
If the value is falsy.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@ocubist/error-alchemy - v0.9.3
Loading...
Asserts that a given value is truthy.