isSet¶
Given a union field, checks if the value is available. This can be used to check which field of a union has a value assigned.
Parameters:
No. | Type | Comments |
---|---|---|
1 | Union field | Path to a union field |
Returns:
boolean
- true
if union field has a value set.
Usages:
isSet( v : T ) : boolean