Lack of isNumeric #847

jcampbell05 opened this Issue Nov 8, 2013 · 4 comments


None yet

4 participants


Zepto lacks the isNumeric operator, which is causing issues in my code.

@madrobby madrobby was assigned Nov 24, 2013

This is a relatively new addition to jQuery and i'm not sure if we should support it. We will consider adding it for completeness.


All isNumeric does is:

function isNumeric(obj) {
    return !isNaN(parseFloat(obj)) && isFinite(obj);

I don't understand why (other than completeness) it should be supported as a part of Zepto.


If there are popular libraries/plugins that would work with Zepto if there was isNumeric, we'll add it.

@mislav mislav added a commit that closed this issue Jul 13, 2016
@mislav mislav Add `$.isNumeric()`
Fixes #847
@mislav mislav closed this in 6ea6dd8 Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment