Blockchain Commons XID TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface HasNickname

    Interface for types that have a nickname.

    interface HasNickname {
        nickname(): string;
        setNickname(name: string): void;
    }

    Implemented by

    Index

    Methods

    • Get the nickname for this object.

      Returns string

    • Set the nickname for this object.

      Parameters

      • name: string

      Returns void