This method checks the type of T and throws if the type is not valid. This runtime check is used because we can't restrict the bounds of T at compile time due to current AS limitations.
A function that is similar to parseInt(2). This safeParseInt returns an error when the value is not a number (NaN) or is not a valid integer.
Value to convert to an integer
Optional radix
Generated using TypeDoc
This method checks the type of T and throws if the type is not valid. This runtime check is used because we can't restrict the bounds of T at compile time due to current AS limitations.