MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / formatValue

Function formatValue

core/src/components/datetime/utils/format.ts:344–346  ·  view source on GitHub ↗
(value: string | string[] | null | undefined)

Source from the content-addressed store, hash-verified

342 * @param value The value to format, either an ISO string or an array thereof.
343 */
344export const formatValue = (value: string | string[] | null | undefined) => {
345 return Array.isArray(value) ? value.join(',') : value;
346};

Callers 1

renderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected