Prism API
    Preparing search index...

    Function forEach

    • Invokes the given callback for all elements of the given value.

      If the given value is an array, the callback will be invokes for all elements. If the given value is null or undefined, the callback will not be invoked. In all other cases, the callback will be invoked with the given value as parameter.

      Type Parameters

      • T extends {}

      Parameters

      • value: T | readonly T[]
      • callbackFn: (value: T, index: number) => void

      Returns void