/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / HasText


Returns

true if builder has text; otherwise false.

Syntax

JavaScript
HasText()

Indicates if the builder has text.

Example

JavaScript
// Indicates if the builder has text.
HasText()
{
  const tb = new LJCTextBuilder();
  tb.Text("This is some text.");

  // Example Method:
  const result = tb.HasText();

  // result:
  // "true"
}

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