Home > @i2analyze/i2connect > utility > SetPropertyValueType
utility.SetPropertyValueType type
The permitted type (for example, string
, number
, or boolean
) for the value of a property that has the specified property type, when writing.
Signature:
type SetPropertyValueType<TPropertyType extends schema.IPropertyType = schema.IPropertyType> = WritableLogicalTypeValueTypeMap<TPropertyType>[TPropertyType['logicalType']];
References: schema.IPropertyType, WritableLogicalTypeValueTypeMap
Introduced: API version 2.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TPropertyType | extends schema.IPropertyType(default: schema.IPropertyType) | The property type to evaluate. |