Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: someOf()

someOf<U>(...values): SomeOfBuilder<U>

The annotation builder for a component property with type 'enum', the property value can contain multiple enum values.

Type Parameters

U extends string | number

Parameters

• ...values: U[]

the possible values for the property.

Returns

SomeOfBuilder<U>

the instance of the metadata property builder.