MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / finiteNumber

Function finiteNumber

packages/nativescript-inspector/src/index.ts:2007–2009  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2005}
2006
2007function finiteNumber(value: unknown): number | null {
2008 return typeof value === "number" && Number.isFinite(value) ? value : null;
2009}
2010
2011function rectValue(rect: any): JSONObject | null {
2012 if (!rect) {

Callers 4

rectValueFunction · 0.70
pointValueFunction · 0.70
sizeValueFunction · 0.70
insetsValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected