7 lines
264 B
TypeScript
Raw Normal View History

// @ts-nocheck
/**
*
* @param str
* @returns true false
*/
export const isString = (str: unknown): str is string => typeof str === 'string';