deno.land / x / rambda@v9.1.1 / src / _internals / isInteger.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
function _isInteger(n){ return n << 0 === n}
export const isInteger = Number.isInteger || _isInteger
/** * Check if `index` is integer even if it is a string. */export const isIndexInteger = index => Number.isInteger(Number(index))
rambda

Version Info

Tagged at
7 months ago