7 lines
264 B
TypeScript
Raw Normal View History

2024-05-12 11:13:54 +08:00
// @ts-nocheck
/**
*
* @param str
* @returns true false
*/
export const isString = (str: unknown): str is string => typeof str === 'string';