vlocode-project - v1.40.0-beta-4
    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 undefined | T

      Item or undefined when not found