import * as tsplus_module_1 from "@effect/core/stm/TArray/operations/exists";
/**
 * Determine if the array contains a specified value.
 *
 * @tsplus fluent ets/TArray contains
 */

export function contains_(self, equal) {
  return a => tsplus_module_1.exists_(self, _ => equal.equals(_, a));
}
/**
 * Determine if the array contains a specified value.
 *
 * @tsplus static ets/TArray/Aspects contains
 */

export const contains = equal => self => contains_(self, equal);
//# sourceMappingURL=contains.mjs.map