DOMText::isWhitespaceInElementContent

(PHP 5, PHP 7, PHP 8)

DOMText::isWhitespaceInElementContent Indicates whether this text node contains whitespace

说明

public DOMText::isWhitespaceInElementContent(): bool

Indicates whether this text node contains only whitespace or it is empty. The text node is determined to contain whitespace in element content during the load of the document.

参数

此函数没有参数。

返回值

Returns true if node contains zero or more whitespace characters and nothing else. Returns false otherwise.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top