propOrNull ()
prop
Or
Null
<
T
>
(
)
:
(
<
K
>
(
key
)
=>
(
(
x
)
=>
null
|
WithoutOptValues
<
T
[
K
]
>
)
)
Type Parameters
T
extends
object
Returns
(
<
K
>
(
key
)
=>
(
(
x
)
=>
null
|
WithoutOptValues
<
T
[
K
]
>
)
)
<
K
>
(
key
)
:
(
(
x
)
=>
null
|
WithoutOptValues
<
T
[
K
]
>
)
Type Parameters
K
extends
string
|
number
|
symbol
Parameters
key
:
K
Returns
(
(
x
)
=>
null
|
WithoutOptValues
<
T
[
K
]
>
)
(
x
)
:
null
|
WithoutOptValues
<
T
[
K
]
>
Parameters
x
:
Opt
<
T
>
Returns
null
|
WithoutOptValues
<
T
[
K
]
>
See
Opt.propOrNull
Back to index
See
Opt.propOrNull