Optional
castToIntOrNull
Typecast variable to integer or null if failed.
castToIntOrNull("16.5"); // => 16 Copy
castToIntOrNull("16.5"); // => 16
Name
castToIntOrNull
Description
Typecast variable to integer or null if failed.
Example