function isNumber(obj) {
        if ((typeof (obj) === _typeof.number || obj instanceof Number) && !isNaN(obj)) {
            return true;
        }
        return false;
    }
In **contrast** to just checking `typeof` this will return `false` for `NaN`.
@returns whether the provided parameter is a JavaScript Number or not.