@servicenow/sdk - v4.4.1
    Preparing search index...
    interface ReadonlyableNode {
        getReadonlyKeyword(): Node<tsc.Node> | undefined;
        getReadonlyKeywordOrThrow(message?: string | (() => string)): Node;
        isReadonly(): boolean;
        setIsReadonly(value: boolean): this;
    }
    Index

    Methods

    • Gets the readonly keyword, or undefined if none exists.

      Returns Node<tsc.Node> | undefined

    • Gets the readonly keyword, or throws if none exists.

      Parameters

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

      Returns Node

    • Gets if it's readonly.

      Returns boolean

    • Sets if this node is readonly.

      Parameters

      • value: boolean

        If readonly or not.

      Returns this