"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const curry_1 = require("@arrows/composition/curry");
const _includes = (element, arr) => arr.includes(element);
/**
 * Determines whether an array includes a certain element,
 * returning true or false as appropriate.
 *
 * @param element Searched element
 * @param arr Initial array
 * @returns True if element exists, false otherwise
 */
const includes = curry_1.default(_includes);
exports.includes = includes;
exports.default = includes;
