@servicenow/sdk - v4.4.1
    Preparing search index...
    interface NameableNodeSpecific {
        getName(): string | undefined;
        getNameNode(): Identifier | undefined;
        getNameNodeOrThrow(message?: string | (() => string)): Identifier;
        getNameOrThrow(message?: string | (() => string)): string;
        removeName(): this;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Gets the name if it exists.

      Returns string | undefined

    • Gets the name node if it exists.

      Returns Identifier | undefined

    • Gets the name node if it exists, or throws.

      Parameters

      • Optionalmessage: string | (() => string)

      Returns Identifier

    • Gets the name if it exists, or throws.

      Parameters

      • Optionalmessage: string | (() => string)

      Returns string

    • Removes the name from the node.

      Returns this