ic-reactor
    Preparing search index...

    Class EmptyClass

    Represents an IDL Empty, a type which has no inhabitants. Since no values exist for this type, it cannot be serialised or deserialised. Result types like Result<Text, Empty> should always succeed.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get typeName(): IdlTypeName

      Returns IdlTypeName

    • get name(): string

      Returns string

    Methods

    • Returns string

    • Parameters

      • typeTable: TypeTable

      Returns void

    • Parameters

      • _typeTable: TypeTable

      Returns void

    • Parameters

      • instance: any

      Returns instance is types.IDL.EmptyClass

    • Assert that JavaScript's x is the proper type represented by this Type.

      Parameters

      • x: any

      Returns x is never

    • Internal

      Encode the value. This needs to be public because it is used by encodeValue() from different types.

      Returns never

    • Returns never

    • Implement I in the IDL spec. Encode this type for the type table.

      Returns Uint8Array<ArrayBufferLike>

    • Returns never