MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / isNumeric

Function isNumeric

packages/@stdlib/misc/src/utils.ts:8–10  ·  view source on GitHub ↗
(n: any)

Source from the content-addressed store, hash-verified

6}
7
8export function isNumeric(n: any): n is number {
9 return !isNaN(parseFloat(n)) && isFinite(n);
10}
11
12export function sleep(ms = 0): Promise<void> {
13 return new Promise((resolve) => setTimeout(resolve, ms));

Callers 3

sizeToCSSFunction · 0.90
makeSectionHeightCSSFunction · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected