Preparing search index...
The search index is not available
@multiversx/sdk-core - v13.0.0
@multiversx/sdk-core
onPrimitiveTypeSelect
Function onPrimitiveTypeSelect
on
Primitive
Type
Select
<
TResult
>
(
type
,
selectors
)
:
TResult
Type Parameters
TResult
Parameters
type
:
PrimitiveType
selectors
:
{
onAddress
:
(
(
)
=>
TResult
)
;
onBoolean
:
(
(
)
=>
TResult
)
;
onBytes
:
(
(
)
=>
TResult
)
;
onH256
:
(
(
)
=>
TResult
)
;
onNothing
:
(
(
)
=>
TResult
)
;
onNumerical
:
(
(
)
=>
TResult
)
;
onOther
?:
(
(
)
=>
TResult
)
;
onString
:
(
(
)
=>
TResult
)
;
onTokenIndetifier
:
(
(
)
=>
TResult
)
;
}
on
Address
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
Boolean
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
Bytes
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
H256
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
Nothing
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
Numerical
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
Optional
on
Other
?:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
String
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
on
Token
Indetifier
:
(
(
)
=>
TResult
)
(
)
:
TResult
Returns
TResult
Returns
TResult
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@multiversx/sdk-core - v13.0.0
Loading...