MCPcopy Index your code
hub / github.com/NativeScript/firebase / numberHasDecimals

Function numberHasDecimals

packages/firebase-core/utils.ts:3–5  ·  view source on GitHub ↗
(item: number)

Source from the content-addressed store, hash-verified

1import { Firebase } from '.';
2
3function numberHasDecimals(item: number) {
4 return !(item % 1 === 0);
5}
6
7function numberIs64Bit(item: number) {
8 return item < -Math.pow(2, 31) + 1 || item > Math.pow(2, 31) - 1;

Callers 1

serializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…