UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 264 B
/** * Given two regular expressions, return true if they are equal. * @param {T} a - T, b: U * @param {U} b - U is the type of the second parameter. * @returns `true` */ export declare function equalRegExp<T extends RegExp, U extends T>(a: T, b: U): boolean;