dd
This commit is contained in:
28
extensions/Excel转JSON/node_modules/atomically/src/utils/lang.ts
generated
vendored
Normal file
28
extensions/Excel转JSON/node_modules/atomically/src/utils/lang.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
/* 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;
|
||||
Reference in New Issue
Block a user