Check if the value is number or string

/**
* @description To check whether the Given Value is a string or number
* @param value
* @returns {boolean} true if the given value is a string or number , else false
*/
const isNumberOrString = (value) => {
return (util.isString(value) || util.isNumber(value))
};

Leave a comment

Your email address will not be published. Required fields are marked *