Function serializeArgs

  • Serializes a RuntimeArgs object to a byte array or an object representation.

    This function converts the RuntimeArgs (or Args) object into a serialized format. If asNamed is set to true, the serialized arguments are wrapped in a Named property for more structured output. Otherwise, the plain array of serialized arguments is returned.

    Returns

    A serialized representation of the runtime arguments. If asNamed is true, the output is an object with a Named property. Otherwise, it is a plain array.

    Parameters

    • ra: Args

      The Args object to be serialized. It contains the runtime arguments.

    • asNamed: boolean = false

      A boolean flag indicating whether to wrap the serialized output in a Named property. Defaults to false.

    Returns unknown

Generated using TypeDoc