UNPKG

hd-utils

Version:

A handy utils for modern JS developers

7 lines (6 loc) 222 B
/** * @description If the type of the value is a string, return true, otherwise return false. * @param {unknown} value - unknown */ export const isString = (value) => typeof value === 'string'; export default isString;