defineProperty
Callable
Type parameters
- T
Parameters
tag: InstanceOrTag
the property tag
optionaltype: Class<T>
type the property holds values of
Returns Property<T>
newly defined property
the property tag
type the property holds values of
newly defined property
Create a constant property object which has the specified tag and type to be used in coded bricks.