Type alias Sync<T>

Sync<out T>: ((input, options?) => T)

Type Parameters

  • out T

    Deserialized data type.

Type declaration

    • (input, options?): T
    • Synchronous data deserializer.

      Reads the data from input string or array of tokens.

      Parameters

      • input: string | readonly UcToken[]

        Either input string or array of tokens to parse.

      • Optional options: UcDeserializer.Options

        Deserialization options.

        Optional

      Returns T

      Deserialized data value.

Generated using TypeDoc