UNPKG

@n3okill/utils

Version:
9 lines (8 loc) 312 B
/** * Check if two objects are instances of the same class. * @param {Function} obj - Function - The constructor of the object you want to compare. * @param {T} a - T * @param {U} b - U extends T * @returns true */ export declare function equalInstance<T, U extends T>(obj: Function, a: T, b: U): boolean;