MCPcopy
hub / github.com/chartjs/Chart.js / parse

Method parse

src/core/core.adapters.ts:28–28  ·  view source on GitHub ↗

* Parses the given `value` and return the associated timestamp. * @param value - the value to parse (usually comes from the data) * @param [format] - the expected data format

(this: DateAdapter<T>, value: unknown, format?: string)

Source from the content-addressed store, hash-verified

26 * @param [format] - the expected data format
27 */
28 parse(this: DateAdapter<T>, value: unknown, format?: string): number | null;
29 /**
30 * Returns the formatted date in the specified `format` for a given `timestamp`.
31 * @param timestamp - the timestamp to format

Callers 7

parseFloatBarFunction · 0.65
parseValueFunction · 0.65
parseArrayOrPrimitiveFunction · 0.65
parseObjectDataMethod · 0.65
parsePrimitiveDataMethod · 0.65
parseArrayDataMethod · 0.65
parseObjectDataMethod · 0.65

Implementers 1

DateAdapterBasesrc/core/core.adapters.ts

Calls

no outgoing calls

Tested by

no test coverage detected