ic-reactor
    Preparing search index...

    Class UnknownClass

    Represents an IDL Unknown, a placeholder type for deserialization only. When decoding a value as Unknown, all fields will be retained but the names are only available in hashed form. A deserialized unknown will offer it's actual type by calling the type() function. Unknown cannot be serialized and attempting to do so will throw an error.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get typeName(): IdlTypeName

      Returns IdlTypeName

    • get name(): string

      Returns string

    Methods

    • Returns string

    • Parameters

      • typeTable: TypeTable

      Returns void

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

      Parameters

      • x: any

      Returns x is any

    • 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 never

    • Returns void