@tsdotnet/array-utility - v1.0.38
    Preparing search index...

    Function findIndex

    • Returns the first index of which the provided predicate returns true. Returns -1 if always false.

      Type Parameters

      • T

      Parameters

      • array: ArrayLike<T>
      • predicate: PredicateWithIndex<T>

      Returns number