Function writeUnknown

  • Write a single value of unknown type to the given writer.

    Parameters

    • val: unknown

      The value.

    • w: Writer

      The writer.

    • opts: Required

      Encoding options.

    Returns void

    TypeError for Symbols or unknown JS typeof results.