Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

feat(isNumeric): add isNumeric function #112

Merged
merged 2 commits into from
Aug 7, 2017

Conversation

IbrahimSassi
Copy link

Add isNumeric function that return true if an expression can be evaluated as a number and false if not

@codecov-io
Copy link

codecov-io commented Aug 7, 2017

Codecov Report

Merging #112 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #112   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          39     40    +1     
  Lines         108    109    +1     
=====================================
+ Hits          108    109    +1
Impacted Files Coverage Δ
src/is-numeric.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29d4e14...576cf92. Read the comment docs.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a formatting issue :)

src/index.js Outdated

export {
isOdd,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the indentation here to just be 2 spaces for every line?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be ok now , right ?

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! 🎉

@kentcdodds kentcdodds merged commit 5dfec97 into eggheadio-github:master Aug 7, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants