underscore
underscore copied to clipboard
isSafeInteger
Is isSafeInteger something Underscore should tackle?
I went down the rabbit hole a bit with the number methods and ended up with isSafeInteger
, isInteger
, isLength
, toInteger
, toSafeInteger
, toLength
, & toNumber
.
@jdalton were you proposing that isInteger, isLength, toInteger, toSafeInteger, toLength, & toNumber were also to be supported?
I'm ok with it.
Personally, I think this is the kind of thing that would be more suited for an extension library like Underscore-Contrib.