dist/@ajsf/core/esm2015/lib/shared/validator.functions.js
/**
 * 'isNumber' utility function
 *
 * Checks if a value is a regular number, numeric string, or JavaScript Date.
 *
 * //   value - the value to check
 * //  { any = false } strict - if truthy, also checks JavaScript tyoe
 * // { boolean } - true if number, false if not
 */
'isNumber' utility function
Checks if a value is a regular number, numeric string, or JavaScript Date.

the value to check
{ any = false } strict - if truthy, also checks JavaScript tyoe
{ boolean } - true if number, false if not
' isNumber ' utility function Checks if a value is a regular number numeric string or JavaScript Date . the value to check { any = false } strict - if truthy also checks JavaScript tyoe { boolean } - true if number false if not
function isNumber(value, strict = false) {
    if (strict && typeof value !== 'number') {
        return false;
    }
    return !isNaN(value) && value !== value / 0;
}
function isNumber ( value , strict = false ) { if ( strict && typeof value !== 'number' ) { return false ; } return ! isNaN ( value ) && value !== value / 0 ; }
'isNumber' utility function
 Checks if a value is a regular number, numeric string, or JavaScript Date.
' isNumber ' utility function Checks if a value is a regular number numeric string or JavaScript Date .