Initializes a new instance of the CLTypeTuple2 class.
The CLType of the first element in the Tuple2.
The CLType of the second element in the Tuple2.
Converts the CLTypeTuple2 instance to a JSON-compatible representation. The JSON object contains a "Tuple2" key with an array including the two inner types.
A JSON object representing the Tuple2 type and its inner types.
Static
fromJSONCreates a CLTypeTuple2 instance from a JSON representation. Parses JSON input to determine the two inner types for the Tuple2.
A new CLTypeTuple2 instance with the parsed inner types.
Error if the JSON structure is invalid or the inner types are not correctly specified.
The JSON representation of the CLTypeTuple2.
Generated using TypeDoc
Represents a Tuple2 type in the Casper type system. This class implements the CLType interface for tuples containing two elements.