@servicenow/sdk - v4.4.1
    Preparing search index...
    interface BodiedNode {
        getBody(): Node;
        getBodyText(): string;
        setBodyText(textOrWriterFunction: string | WriterFunction): this;
    }
    Index

    Methods

    • Gets the body.

      Returns Node

    • Gets the body text without leading whitespace, leading indentation, or trailing whitespace.

      Returns string

    • Sets the body text.

      Parameters

      • textOrWriterFunction: string | WriterFunction

        Text or writer function to set as the body.

      Returns this