Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/codecs
some
Function some
Creates a new
Option
of type
T
that has a value.
See
Option
some
<
T
>
(
value
:
T
)
:
Option
<
T
>
Type Parameters
T
Parameters
value
:
T
Returns
Option
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Creates a new Option of type
Tthat has a value.See
Option