Function: seedEmptyValueArrays()
ts
function seedEmptyValueArrays(
value,
schemaNode,
ctx
): any;Defined in: domain/shadow-model.ts:595
Adds one blank starter item to every empty multivalue field of a compact value type (Term, Literal, Url, Date, TypedValue or string) inside objects that already exist in value. Meant for the display shadow only; the seeded items are not persisted.
Parameters
| Parameter | Type |
|---|---|
value | any |
schemaNode | any |
ctx | SchemaContext |
Returns
any