@univerjs/core v0.3.0 • Docs
Function: isRealNum()
function isRealNum(val): boolean
Determine whether it is a pure number, "12" and "12e+3" are both true
Parameters
Parameter | Type | Description |
---|---|---|
val | string | number | boolean | The number or string to be judged |
Returns
boolean
Result
Defined in
submodules/univer/packages/core/src/shared/generate.ts:22 (opens in a new tab)