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

Function parseValue

core/src/components/select/select.tsx:1290–1298  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

1288};
1289
1290const parseValue = (value: any) => {
1291 if (value == null) {
1292 return undefined;
1293 }
1294 if (Array.isArray(value)) {
1295 return value.join(',');
1296 }
1297 return value.toString();
1298};
1299
1300const generateText = (
1301 opts: HTMLIonSelectOptionElement[],

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected