i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > utility > PropertyTypeFromDisplayName

    utility.PropertyTypeFromDisplayName type

    A utility type that represents a property type with a particular display name from a particular item type.

    Signature:

    type PropertyTypeFromDisplayName<TItemType extends schema.IItemType, TDisplayName extends PropertyTypeDisplayNames<TItemType>> = TItemType extends schema.IItemType<infer PropertyTypes> ? PropertyTypes[TDisplayName] : never;
    

    References: schema.IItemType, PropertyTypeDisplayNames

    Introduced: API version 2.0

    Type Parameters

    Parameter Type Description
    TItemType extends schema.IItemType The item type that has the property type.
    TDisplayName extends PropertyTypeDisplayNames<TItemType>
    In this article
    Back to top © N. Harris Computer Corporation