vlocode-project - v1.41.2
    Preparing search index...

    Function remove

    • Remove the first element from the array that matches the specified predicate

      Type Parameters

      • T

      Parameters

      • source: T[]

        Source array

      • predicate: (item: T, index: number) => boolean

        predicate to match

      Returns T | undefined

      Item or undefined when not found