Class CLValueUnit

Represents a Unit value in the Casper type system. A Unit value is similar to 'null' or 'void' in other languages.

Hierarchy

  • CLValueUnit

Constructors

Properties

Methods

Constructors

Properties

obj: null

Methods

  • Returns the byte representation of the Unit value. For Unit type, this is always an empty array.

    Returns

    An empty Uint8Array.

    Returns Uint8Array

  • Converts the instance to a JSON-compatible null value.

    Returns

    Always returns null, representing the absence of a value.

    Returns null

  • Returns a string representation of the Unit value.

    Returns

    The string 'null' to represent the Unit value.

    Returns string

Generated using TypeDoc