jashkenas / jashkenas/underscore

isSafeInteger

Open
#2,455 3 comments 0 reactions 0 assignees View on GitHub
contrib
Dominant language
JavaScript
Stars
27.3k
Forks
5.4k
Avg merge
2d 5h
Merged PRs (30d)
1

Description

Is [isSafeInteger](http://www.ecma-international.org/ecma-262/6.0/#sec-number.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`.

Contributor guide

Open the contributing guide

Research direction

Start with the linked ECMAScript specification for Number.isSafeInteger and review Underscore's existing number methods. The issue names isSafeInteger, isInteger, isLength, toInteger, toSafeInteger, toLength, and toNumber, so first determine the intended scope and API; done requires an agreed feature scope before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.