MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / isNumber

Method isNumber

src/danfojs-base/shared/utils.ts:57–59  ·  view source on GitHub ↗

* Checks if value is a number. * @param value The value to check. * @returns

(value: T)

Source from the content-addressed store, hash-verified

55 * @returns
56 */
57 isNumber<T>(value: T): boolean {
58 return typeof value === "number" && isFinite(value);
59 }
60
61 /**
62 * Checks if value is an object.

Callers 3

utils.test.jsFile · 0.80
constructorMethod · 0.80
utils.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected