/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / HasText


Returns

true if builder has text; otherwise false.

Syntax

PHP
public function HasText(): bool

Indicates if the builder has text.

Example

PHP
 $textState = new LJCTextState();
 $tb = new LJCTextBuilder();
 
 // Example Method:
 $retValue = $tb->HasText();
 $result = $retValue ? "true" : "false";
 
 // result:
 // "false"

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.