- Preparing search index...
- The search index is not available
moonpiebot
- convertToInt(variableValue: string, errorMessage?: string): number
-
Parameters
-
variableValue: string
-
errorMessage: string = "Could not parse environment variable value string to integer"
Returns number
Convert number string to integer or throw error if not possible.
Returns
Number value if valid number.