Skip to content

Function: getMinOccurrences() ​

ts
function getMinOccurrences(schemaNode, ctx): number;

Defined in: domain/shadow-model.ts:457

Minimum number of items for a schema node, from minItems or x-sidedoc.minOccurrences. Defaults to 0.

Parameters ​

ParameterType
schemaNodeany
ctxSchemaContext

Returns ​

number