xk6-crawler
    Preparing search index...

    Type Alias ForEachWithBreakCallback

    ForEachWithBreakCallback: (index: number, element: HTMLElement) => boolean

    The type of callback function registered by HTMLElement.forEachWithBreak.

    Type Declaration

      • (index: number, element: HTMLElement): boolean
      • Parameters

        • index: number

          the current index

        • element: HTMLElement

          the current element

        Returns boolean

        true to continue or false to break