mirror of https://github.com/jkjoy/sunpeiwen.git
17 lines
356 B
JavaScript
17 lines
356 B
JavaScript
|
"use strict";
|
||
|
/* LANG */
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const Lang = {
|
||
|
isFunction: (x) => {
|
||
|
return typeof x === 'function';
|
||
|
},
|
||
|
isString: (x) => {
|
||
|
return typeof x === 'string';
|
||
|
},
|
||
|
isUndefined: (x) => {
|
||
|
return typeof x === 'undefined';
|
||
|
}
|
||
|
};
|
||
|
/* EXPORT */
|
||
|
exports.default = Lang;
|