You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
600 B
18 lines
600 B
1 month ago
|
declare function isRegex(o: any): boolean;
|
||
|
declare function isFunction(functionToCheck: any): any;
|
||
|
declare function isPlainObject(a: any): boolean;
|
||
|
declare function isUndefined(a: any): boolean;
|
||
|
/**
|
||
|
* According to Webpack docs, a "test" should be the following:
|
||
|
*
|
||
|
* - A string
|
||
|
* - A RegExp
|
||
|
* - A function
|
||
|
* - An array of conditions (may be nested)
|
||
|
* - An object of conditions (may be nested)
|
||
|
*
|
||
|
* https://webpack.js.org/configuration/module/#condition
|
||
|
*/
|
||
|
declare function isSameCondition(a: any, b: any): boolean;
|
||
|
export { isRegex, isFunction, isPlainObject, isUndefined, isSameCondition };
|