Interface Variant

Variant of list schema.

Hierarchy

Properties

Properties

single?: "accept" | "reject"

How to treat single values.

One of:

'accept' to treat single value as list with single item. 'reject' (the default) to reject single value.

This option is ignored if item type is a list itself.

Generated using TypeDoc