MCPcopy Create free account
hub / github.com/NativeScript/firebase / numberIs64Bit

Function numberIs64Bit

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

Source from the content-addressed store, hash-verified

5}
6
7function numberIs64Bit(item: number) {
8 return item < -Math.pow(2, 31) + 1 || item > Math.pow(2, 31) - 1;
9}
10
11export function serialize(data: any, wrapPrimitives: boolean = false): any {
12 if (global.isIOS) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected