Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/parinfer/parinfer.js
/ isInteger
Function
isInteger
parinfer.js:85–89 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
83
}
84
85
function
isInteger (x) {
86
return
typeof x ===
'number'
&&
87
isFinite(x) &&
88
Math.floor(x) === x
89
}
90
91
function
isPositiveInt (i) {
92
return
isInteger(i) && i >= 0
Callers
4
isPositiveInt
Function · 0.70
getCharFromString
Function · 0.70
getInitialResult
Function · 0.70
setTabStops
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected