Type module
Sources
Items from Type can be imported/included and used via following ways.
/** * -------------------------------------------------------- * Import via main package: core.ts * Access items like: am5.type.myVariable * am5.type.myFunction() * -------------------------------------------------------- */ import * as am5 from "@amcharts/amcharts5"; /** * -------------------------------------------------------- * Import via: Type.ts * Access items like: $type.myVariable * $type.myFunction() * -------------------------------------------------------- */ import * as $type from "@amcharts/amcharts5/Type";
/** * -------------------------------------------------------- * Include via "index.js" * E.g.: "https://cdn.amcharts.com/lib/5/index.js" * Access items like: am5.type.myVariable * am5.type.myFunction() * -------------------------------------------------------- */
Variables
Type does not have any variables.
Functions
|
isArray( value: ) |
Returns Checks if parameter is |
|---|---|
|
isDate( value: ) |
Returns Checks if parameter is |
|
isNaN( value: ) |
Returns Returns |
|
isNumber( value: ) |
Returns Checks if parameter is |
|
isObject( value: ) |
Returns Checks if parameter is |
|
isString( value: ) |
Returns Checks if parameter is |
|
numberToString( value: ) |
Returns Converts numeric value into string. Deals with large or small numbers that would otherwise use exponents. |
|
toDate( value: ) |
Returns Converts anything to Date object. |
|
toNumber( value: ) |
Returns Converts any value into a |