Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Functions

forEach

  • Loops over arrays or objects and applies a given callback

    Will work with Arrays, Objects, Map, Set and interators

    Type parameters

    • V = any

    • K = any

    Parameters

    • list: ReadList<V, K>

      The array or object to iterate

    • callback: ForEachCallback<V, K>

      The callback to apply. Params are: (value, key, iteratedObject)

    Returns void

Generated using TypeDoc