DAGDA SEARCH | Back to results | Support

toInt

Source: https://codeql.github.com/codeql-standard-libraries/javascript/predicate.string$toInt.0.html

CodeQL library for JavaScript/TypeScriptcodeql/javascript-all 3.0.2 (changelog, source)IndexSearch

Primitive predicate string::toInt

Returns the 32-bit signed integer, if any, obtained by parsing the receiver. The number may consist of an optional leading + or -, followed by one or more digits. Has no result if the value exceeds the value range supported by the int type.

int toInt()