7 lines
264 B
TypeScript
Raw Permalink Normal View History

2024-04-28 10:10:03 +08:00
// @ts-nocheck
/**
*
* @param str
* @returns true false
*/
export const isString = (str: unknown): str is string => typeof str === 'string';