/** * Function type for predicate operations */ export type Predicate = (e: E) => boolean;