Preparing search index...
The search index is not available
@saunos/utils
@saunos/utils
assertNotNull
Function assertNotNull
assertNotNull
<
T
>
(
value
:
T
,
msg
?:
string
)
:
asserts
value
is
NonNullable
<
T
>
Type Parameters
T
Parameters
value
:
T
Optional
msg
:
string
Returns
asserts
value
is
NonNullable
<
T
>
Description
Asserts that the given value is not null or undefined, otherwise throws an error.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@saunos/utils
Loading...
Description
Asserts that the given value is not null or undefined, otherwise throws an error.