@vttforge/core / SetFieldInstance
Interface: SetFieldInstance<Inner, O> ​
A SetField holds a Set, not an array.
It extends ArrayField and validates the same way, but initialize wraps the result in new Set(...), so a schema that declares one and types it as an array gets .push and index access from the compiler on a value that has neither.
Extends ​
Type Parameters ​
Inner ​
Inner extends FieldInstance = FieldInstance
O ​
O extends SetFieldOptions = SetFieldOptions
Properties ​
[BRAND] ​
readonly[BRAND]:"set"
Overrides ​
element ​
readonlyelement:Inner
options ​
readonlyoptions:O