Function partition

  • Segregate entries by test result.

    Type Parameters

    • K

    • V

    Parameters

    • x: Map<K, V>

      a map

    • ft: TestFunction<K, V>

      test function (v, k, x)

    Returns [Map<K, V>, Map<K, V>]

    [satisfies, doesnt]

Generated using TypeDoc