UNPKG

@n3okill/utils

Version:
13 lines (12 loc) 505 B
type EqualFn = (a: any, b: any) => boolean; type IsType = (a: unknown) => boolean; export declare const filterFunction: Array<[IsType, EqualFn]>; export declare function _filterFunction(a: unknown, b: unknown): boolean; /** * Returns the name of the constructor of the argument if it is an object, otherwise returns an empty * string * @param {unknown} arg - unknown * @returns The name of the constructor of the argument. */ export declare function constructorName(arg: unknown): string; export {};