export function isString ( value ) { return value instanceof String || typeof value === 'string' ; } export function isNumber ( value ) { return ( value instanceof Number || ( typeof value === 'number' && ! isNaN ( value ) ) ) ; } export function isBoolean ( value ) { return value instanceof Boolean || typeof value === 'boolean' ; }