Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apitable/apitable
/ stringIsNumber
Function
stringIsNumber
packages/core/src/model/field/validate_schema/index.ts:45–45 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
43
}));
44
45
const
stringIsNumber = (value: string) => isNaN(Number(value)) === false;
46
47
export
function
enumToArray(en: Object) {
48
const
keys = Object.keys(en).filter(k => !stringIsNumber(k));
Callers
1
enumToArray
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected