Function findIndex

  • Type Parameters

    • T

    Parameters

    • array: T[]
    • predicate: ArrayIterator<T, boolean>

    Returns number