some¶
Returns given object wrapped as an optional value.
Parameters:
No. | Type | Comments |
---|---|---|
1 | T | Any ALFA object |
Returns:
T ?
- An optional object with the supplied value
Usages:
some( value : T ) : T ?
Returns given object wrapped as an optional value.
Parameters:
No. | Type | Comments |
---|---|---|
1 | T | Any ALFA object |
Returns:
T ?
- An optional object with the supplied value
Usages:
some( value : T ) : T ?