function isPrimitive(value) {
        // Type of value.
        var valType = typeof value;
        // Checking type.
        return valType === 'string' || valType === 'number' || valType === 'boolean' || isNil(value);
    }
/**
     * Determine the belonging of value to the primitive type.
     *
     * @example
     *
     *    isPrimitive({}) // False
     *    isPrimitive([]) // False
     *    isPrimitive(null) // True
     *    isPrimitive('') // True
     *    isPrimitive(0) // True
     *
     * @param value The value to check.
     * @return True when value is primitive category type; false otherwise.
     * @author Oleksandr Dakal <oleksandr-dakal@project-kit.org>
     */
Determine the belonging of value to the primitive type.
@example



@param value The value to check.
@return True when value is primitive category type; false otherwise.
@author Oleksandr Dakal 
Determine the belonging of value to the primitive type . @example @param value The value to check . @return True when value is primitive category type ; false otherwise . @author Oleksandr Dakal
function isPrimitive(value) {
        var valType = typeof value;
        return valType === 'string' || valType === 'number' || valType === 'boolean' || isNil(value);
    }
function isPrimitive ( value ) { var valType = typeof value ; return valType === 'string' || valType === 'number' || valType === 'boolean' || isNil ( value ) ; }
Determine the belonging of value to the primitive type.
Determine the belonging of value to the primitive type .
// Type of value. // Checking type.