import { purry } from 'remeda' export function includes(value: T): (array: T[]) => boolean export function includes(array: T[], value: T): boolean export function includes() { return purry((array: T[], value: T) => array.includes(value), arguments) }