Function flatMap

  • Flatten nested object, using map function.

    Parameters

    • x: object

      a nested object

    • fm: MapFunction = null

      map function (v, k, x)

    • ft: TestFunction = null

      test function (v, k, x)

    Returns object

    flat map

Generated using TypeDoc