/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / IndentLength


Returns

The current indent length.

Syntax

JavaScript
IndentLength()

Gets the current indent length.

Example

JavaScript
// Gets the current indent length.
IndentLength()
{
  const tb = new LJCTextBuilder();
  tb.AddIndent(2);

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

  // result:
  // 4
}

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