Function swap$

  • Exchange two values in an object.

    Returns

    x | x[i] ↔ x[j]

    Parameters

    • x: object

      an object (updated)

    • k: string

      a key

    • l: string

      another key

    Returns object

Generated using TypeDoc