Initializes a new instance of the CLTypeOption class.
The CLType of the value that this Option can contain.
The inner CLType that this Option may contain.
Converts the CLTypeOption instance to a JSON-compatible representation. The JSON object includes a single key-value pair, where the key is "Option" and the value is the JSON representation of the inner type.
A JSON object representing the option type and its inner type.
Static
fromJSONCreates a CLTypeOption instance from a JSON representation. Parses JSON input to determine the inner type of the option.
A new CLTypeOption instance with the parsed inner type.
The JSON representation of the CLTypeOption.
Generated using TypeDoc
Represents an Option type in the Casper type system. This class implements the CLType interface, allowing for optional values with specified inner types.