import { Filter } from '../Filter' /** * Can always be unfolded (= replaced with the predicate code where `value` is substituted with the actual value) */ export const exists = (input: T, filter: Filter) => filter(input)