Skip to content

results-ts


results-ts / Some

Function: Some() ​

Some<T>(value): Option<T>

Defined in: option.ts:855

Some value of type T.

Type Parameters ​

T ​

T

Parameters ​

value ​

T

The value to be wrapped in a Some.

Returns ​

Option<T>

An Option representing the presence of a value.