Files
pixelheros/extensions/Excel转JSON/node_modules/atomically/src/utils/lang.ts
walkpan 8f57f57c1d dd
2024-08-18 23:38:55 +08:00

29 lines
331 B
TypeScript

/* LANG */
const Lang = {
isFunction: ( x: any ): x is Function => {
return typeof x === 'function';
},
isString: ( x: any ): x is string => {
return typeof x === 'string';
},
isUndefined: ( x: any ): x is undefined => {
return typeof x === 'undefined';
}
};
/* EXPORT */
export default Lang;