underscore icon indicating copy to clipboard operation
underscore copied to clipboard

isSafeInteger

Open jdalton opened this issue 8 years ago • 3 comments

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 avatar Mar 01 '16 08:03 jdalton

@jdalton were you proposing that isInteger, isLength, toInteger, toSafeInteger, toLength, & toNumber were also to be supported?

devanp92 avatar May 05 '16 01:05 devanp92

I'm ok with it.

jdalton avatar May 05 '16 02:05 jdalton

Personally, I think this is the kind of thing that would be more suited for an extension library like Underscore-Contrib.

jgonggrijp avatar May 09 '20 18:05 jgonggrijp