Function flatMap

  • Flatten nested set, based on map function.

    Type Parameters

    • T = any

    Parameters

    • x: Set<T>

      a nested set

    • fm: MapFunction<T, any> = null

      map function (v, v, x)

    • ft: TestFunction<T> = null

      flatten test function (v, v, x) [is]

    Returns Set<any>

    flat set

Generated using TypeDoc