number constant

String const number

Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.

Sdk Support: basic functionality with js, android, ios, macos

Implementation

static const number = "number";