xe-utils-es
Version:
JavaScript 函数库、工具类
111 lines (110 loc) • 3.68 kB
TypeScript
import hasOwnProp from './hasOwnProp';
import isNull from './isNull';
import isNumberNaN from './isNaN';
import isPlainObject from './isPlainObject';
import isLeapYear from './isLeapYear';
import eqNull from './eqNull';
import each from './each';
import forOf from './forOf';
import lastForOf from './lastForOf';
import clone from './clone';
import getSize from './getSize';
import lastEach from './lastEach';
import remove from './remove';
import clear from './clear';
import isNumberFinite from './isFinite';
import isFloat from './isFloat';
import isTypeError from './isTypeError';
import isEmpty from './isEmpty';
import isSymbol from './isSymbol';
import isElement from './isElement';
import isDocument from './isDocument';
import isWindow from './isWindow';
import isFormData from './isFormData';
import isMap from './isMap';
import isWeakMap from './isWeakMap';
import isSet from './isSet';
import isWeakSet from './isWeakSet';
import isMatch from './isMatch';
import isEqual from './isEqual';
import isEqualWith from './isEqualWith';
import getType from './getType';
import uniqueId from './uniqueId';
import toStringJSON from './toStringJSON';
import toJSONString from './toJSONString';
import first from './first';
import last from './last';
import has from './has';
import get from './get';
import set from './set';
import groupBy from './groupBy';
import countBy from './countBy';
import range from './range';
import destructuring from './destructuring';
declare const baseExports: {
hasOwnProp: typeof hasOwnProp;
eqNull: typeof eqNull;
isNaN: typeof isNumberNaN;
isFinite: typeof isNumberFinite;
isUndefined: (obj: any) => boolean;
isArray: (arg: any) => arg is any[];
isFloat: typeof isFloat;
isInteger: (obj: any) => boolean;
isFunction: (obj: any) => boolean;
isBoolean: (obj: any) => boolean;
isString: (obj: any) => boolean;
isNumber: (obj: any) => boolean;
isRegExp: (obj: any) => boolean;
isObject: (obj: any) => boolean;
isPlainObject: typeof isPlainObject;
isDate: (obj: any) => boolean;
isError: (obj: any) => boolean;
isTypeError: typeof isTypeError;
isEmpty: typeof isEmpty;
isNull: typeof isNull;
isSymbol: typeof isSymbol;
isArguments: (obj: any) => boolean;
isElement: typeof isElement;
isDocument: typeof isDocument;
isWindow: typeof isWindow;
isFormData: typeof isFormData;
isMap: typeof isMap;
isWeakMap: typeof isWeakMap;
isSet: typeof isSet;
isWeakSet: typeof isWeakSet;
isLeapYear: typeof isLeapYear;
isMatch: typeof isMatch;
isEqual: typeof isEqual;
isEqualWith: typeof isEqualWith;
getType: typeof getType;
uniqueId: typeof uniqueId;
getSize: typeof getSize;
indexOf: (obj: any, val: any) => any;
lastIndexOf: (obj: any, val: any) => any;
findIndexOf: (obj: any, iterate: any, context?: any) => any;
findLastIndexOf: (obj: any, iterate: any, context?: any) => any;
toStringJSON: typeof toStringJSON;
toJSONString: typeof toJSONString;
keys: (obj: any) => any;
values: (obj: any) => any;
entries: (obj: any) => any;
pick: (obj: any, callback: any) => {};
omit: (obj: any, callback: any) => {};
first: typeof first;
last: typeof last;
each: typeof each;
forOf: typeof forOf;
lastForOf: typeof lastForOf;
lastEach: typeof lastEach;
has: typeof has;
get: typeof get;
set: typeof set;
groupBy: typeof groupBy;
countBy: typeof countBy;
clone: typeof clone;
clear: typeof clear;
remove: typeof remove;
range: typeof range;
destructuring: typeof destructuring;
};
export default baseExports;