String

Type module

Sources

Items from String can be imported/included and used via following ways.

/**
 * --------------------------------------------------------
 * Import via main package: core.ts
 * Access items like: am4core.string.myVariable
 *                    am4core.string.myFunction()
 * --------------------------------------------------------
 */
import * as am4core from "@amcharts/amcharts4";

/**
 * --------------------------------------------------------
 * Import via: String.ts
 * Access items like: $string.myVariable
 *                    $string.myFunction()
 * --------------------------------------------------------
 */
import * as $string from "@amcharts/amcharts4/String";

/**
 * --------------------------------------------------------
 * Include via "core.js"
 * Access items like: am4core.string.myVariable
 *                    am4core.string.myFunction()
 * --------------------------------------------------------
 */

Variables

String does not have any variables.

Functions

random(

chars: number

)

#

Returns string

Returns a random number between from and to.