Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Interface InstanceSet<Instance, Encoded>

    interface InstanceSet<Instance, Encoded = string> {
        decodedArray: Instance[];
        encodedArray: Encoded[];
        add(data: CanBeArray<Instance | Encoded>): this;
        delete(data: Instance | Encoded): boolean;
        has(data: Instance | Encoded): boolean;
    }

    Type Parameters

    • Instance
    • Encoded = string

    Hierarchy

    Index

    Properties

    decodedArray: Instance[]
    encodedArray: Encoded[]

    Methods

    • Removes a specified value from the Set.

      Parameters

      Returns boolean

      Returns true if an element in the Set existed and has been removed, or false if the element does not exist.

    • Parameters

      Returns boolean

      a boolean indicating whether an element with the specified value exists in the Set or not.