Skip to content

union since v1.0.0wrapper

Defines a polymorphic property that can accept any one of the specified types.

union(...string) -> Union<string>

Parameters

Name Type Description
... string A variadic list of valid types for the property.