UNPKG

@arrows/dispatch

Version:
9 lines (8 loc) 274 B
declare type RawIsIn = (list: any[] | Set<any>, value: any) => boolean; declare type IsIn = RawIsIn & ((list: any[] | Set<any>) => (value: any) => boolean); /** * Checks if a value is inside an array/set. */ declare const isIn: IsIn; export { isIn }; export default isIn;