import * as tsplus_module_1 from "@effect/core/stm/TArray/operations/indexWhereFrom";
/**
 * Get the first index of a specific value in the array, starting at a
 * specific index, or -1 if it does not occur.
 *
 * @tsplus fluent ets/TArray indexOfFrom
 */

export function indexOfFrom_(self, equivalence) {
  return (a, from) => tsplus_module_1.indexWhereFrom_(self, _ => equivalence.equals(_, a), from);
}
/**
 * Get the first index of a specific value in the array, starting at a
 * specific index, or -1 if it does not occur.
 *
 * @tsplus static ets/TArray/Aspects indexOfFrom
 */

export const indexOfFrom = equivalence => self => indexOfFrom_(self, equivalence);
//# sourceMappingURL=indexOfFrom.mjs.map