/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / EndsWithNewLine


Returns

true if builder text ends with a newline; otherwise false.

Syntax

PHP
public function EndsWithNewLine(): bool

Indicates if the builder text ends with a newline.

Example

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

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