mustBeUnderlyingType(A, typename)
| Parameter | Description |
|---|---|
| A | value to validate. |
| typename | text scalar naming the required underlying type. |
| Parameter | Description |
|---|---|
| none | this validation function returns no value. |
mustBeUnderlyingType throws an error if the underlying type of A (as returned by underlyingType) is not equal to typename. This function does not return a value.
mustBeUnderlyingType(int32(5), 'int32')
| Version | Description |
|---|---|
| 2.0.0 | initial version |