Skip to content

Home > sculp-js > isNumerical

isNumerical() function

判断字符串是否为正确数值,包括整数和浮点数

Signature:

typescript
isNumerical: (value: string) => boolean

Parameters

Parameter

Type

Description

value

string

Returns:

boolean

{boolean}

Released under the MIT License.