Preparing search index...
The search index is not available
core-utils
core-utils
@clipboard-health/testing-core
expectToBeDefined
Function expectToBeDefined
expectToBeDefined
<
T
>
(
value
:
undefined
|
T
)
:
asserts
value
is
T
Asserts and narrows the type for defined values.
Type Parameters
T
Parameters
value
:
undefined
|
T
Returns
asserts
value
is
T
Throws
for null or undefined values.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
core-utils
Loading...
Asserts and narrows the type for defined values.