Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
1
import
{ Firebase } from
'.'
;
2
3
function
numberHasDecimals(item: number) {
4
return
!(item % 1 === 0);
5
}
6
7
function
numberIs64Bit(item: number) {
8
return
item < -Math.pow(2, 31) + 1 || item > Math.pow(2, 31) - 1;
Callers
1
serialize
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected