Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ isFloat
Function
isFloat
packages/common/src/math.ts:35–35 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
33
};
34
35
export
const
isFloat = (n: number) => n % 1 !== 0;
36
37
export
const
ifNaN = <T extends number>(
38
n: number | null | undefined,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected