mustBeUnderlyingType
Validate that value has a specified underlying type.
📝Syntax
mustBeUnderlyingType(A, typename)
📥Input Arguments
Parameter Description
A value to validate.
typename text scalar naming the required underlying type.
📤Output Arguments
Parameter Description
none this validation function returns no value.
📄Description

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.

💡Examples
mustBeUnderlyingType(int32(5), 'int32')
🔗See Also
mustBeAunderlyingType
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub