orCrash (property)
or
Crash
or
Crash
:
(
<
KK
,
R
>
(
k
,
errorFactory
?
)
=>
WithoutOptValues
<
R
>
)
Type declaration
<
KK
,
R
>
(
k
,
errorFactory
?
)
:
WithoutOptValues
<
R
>
Type Parameters
KK
extends
string
|
number
|
symbol
R
Parameters
k
:
KK
Optional
errorFactory
:
string
|
(
(
key
)
=>
string
|
Error
)
Returns
WithoutOptValues
<
R
>
Back to index