Preparing search index...
The search index is not available
ts-opt
ts-opt
propOrZero
Function propOrZero
prop
Or
Zero
<
T
>
(
)
:
(
<
K
>
(
key
)
=>
(
(
x
)
=>
0
|
WithoutOptValues
<
T
[
K
]
>
)
)
Type Parameters
T
extends
object
Returns
(
<
K
>
(
key
)
=>
(
(
x
)
=>
0
|
WithoutOptValues
<
T
[
K
]
>
)
)
<
K
>
(
key
)
:
(
(
x
)
=>
0
|
WithoutOptValues
<
T
[
K
]
>
)
Type Parameters
K
extends
string
|
number
|
symbol
Parameters
key
:
K
Returns
(
(
x
)
=>
0
|
WithoutOptValues
<
T
[
K
]
>
)
(
x
)
:
0
|
WithoutOptValues
<
T
[
K
]
>
Parameters
x
:
Opt
<
T
>
Returns
0
|
WithoutOptValues
<
T
[
K
]
>
See
Opt.propOrZero
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
ts-opt
EqualityFunction
OptSafe
isString
toString
isArray
isReadonlyArray
isFunction
isObject
isNumber
isUnknown
Opt
NoneSerialized
SomeSerialized
OptSerialized
isOptSerialized
ReduxDevtoolsCompatibilityHelper
serialize
DeserializationSuccess
DeserializationFailure
DeserializationResult
deserialize
Loading...
Generated using
TypeDoc
See
Opt.propOrZero