@dxos/echo
    Preparing search index...

    Variable labelPropertyConst

    labelProperty: (entity: AnyProperties) => string = internal.getLabelProperty

    Get the name of the property that holds the label of an object.

    Type declaration

      • (entity: AnyProperties): string
      • Returns the primary label property key for an entity. Reads the first accessor from LabelAnnotation, defaulting to 'name'.

        Parameters

        • entity: AnyProperties

        Returns string

    O(1); reads the first accessor of the schema LabelAnnotation.