Function swap$

  • Exchange two values in an object.

    Parameters

    • x: object

      an object (updated)

    • k: string

      a key

    • l: string

      another key

    Returns object

    x | x[i] ↔ x[j]

Generated using TypeDoc