Function stringify

Encode value to string using a simple non-colliding stable scheme. Handles user-defined types by processing keys on first non-empty prototype. If a user-defined type provides a "toJSON" function, it is used.

  • Parameters

    • value: unknown

      The value to convert to a string representation.

    Returns string