Function codeValue

  • Encode or Decode or pass through a value as per the configured encoding option.

    Parameters

    • value: string
    • options:
          | undefined
          | Readonly<
              Pick<
                  {
                      encoding?: Encode
                      | Decode
                      | None;
                      searchParamStrategy?: Clear | Replace | Append;
                  },
                  "encoding",
              >,
          >

    Returns string