@corefunc/corefunc
    Preparing search index...

    Function arrayBasicKeep

    • Type Parameters

      • T

      Parameters

      • array: T[]

        The array arrayBasicKeep was called upon.

      • iteratee: (_value: T, _index: number, _array: T[]) => boolean

        A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.

      Returns T[]

      Returns the new filtered array.

      arrayBasicKeep

      Returns the elements of an array that meet the condition specified in a callback function.