@extra-array/is-suffix
Version:
Checks if array ends with a suffix.
11 lines • 378 B
TypeScript
import type { compareFn, mapFn } from './_types';
/**
* Checks if array ends with a suffix.
* @param x an array
* @param y suffix?
* @param fc compare function (a, b)
* @param fm map function (v, i, x)
*/
declare function isSuffix<T, U = T>(x: T[], y: T[], fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): boolean;
export default isSuffix;
//# sourceMappingURL=index.d.ts.map