Methods
isEmpty() → {boolean}
- Description:
Returns a boolean specifying whether the content is empty/blank.
Returns:
True if the content is empty. False otherwise.
- Type
- boolean
containsImages() → {boolean}
- Description:
Returns a boolean specifying whether the content has any images.
Returns:
True if the content has any images. False otherwise.
- Type
- boolean
numberOfImages() → {number}
- Description:
Returns the number of images in the content.
Returns:
The number of images in the content.
- Type
- number
containsImagesOnly() → {boolean}
- Description:
Returns a boolean specifying whether the content consists only images.
Returns:
True if the content consists only images. False otherwise.
- Type
- boolean
containsText() → {boolean}
- Description:
Returns a boolean specifying whether the content has any text.
Returns:
True if the content has any text. False otherwise.
- Type
- boolean