isNone¶
Given an optional value, checks if the value is empty or ‘none’.
Parameters:
| No. | Type | Comments |
|---|---|---|
| 1 | Optional type | Any type marked as optional |
Returns:
boolean - true if the value is none.
Usages:
isNone( v : T ? ) : boolean
Given an optional value, checks if the value is empty or ‘none’.
Parameters:
| No. | Type | Comments |
|---|---|---|
| 1 | Optional type | Any type marked as optional |
Returns:
boolean - true if the value is none.
Usages:
isNone( v : T ? ) : boolean