types-utils
v0.0.2
Published
收集一些常用工具
Downloads
2
Readme
Use
install
npm install types-utils --save
use
import { debounce } from "types-utils";
API 暴露出来的函数
exports.debounce = debounce;
exports.deepClone = deepClone;
exports.digitUppercase = digitUppercase;
exports.fistLetterUpper = fistLetterUpper;
exports.flatten = flatten;
exports.is = is;
exports.isArray = isArray;
exports.isDate = isDate;
exports.isDevice = isDevice;
exports.isEmail = isEmail;
exports.isEmojiCharacter = isEmojiCharacter;
exports.isError = isError;
exports.isFunction = isFunction;
exports.isMobile = isMobile;
exports.isNull = isNull;
exports.isNumber = isNumber;
exports.isPhone = isPhone;
exports.isPromise = isPromise;
exports.isRegExp = isRegExp;
exports.isSet = isSet;
exports.isString = isString;
exports.isSymbol = isSymbol;
exports.isURL = isURL;
exports.isUndefined = isUndefined;
exports.isWeiXin = isWeiXin;
exports.numberToChinese = numberToChinese;
exports.osType = osType;
exports.randomString = randomString;
exports.telFormat = telFormat;
exports.throttle = throttle;
注意: 入参和出参见(node_modules/types-utils/src/index.js)