@dxos/echo
    Preparing search index...

    Function getLabel

    • Get the display label of a type entity. Reads the field(s) nominated by the type's LabelAnnotation (e.g. name on persisted schemas). Returns undefined if no label field is populated.

      Parameters

      • entity: AnyEntity
      • Optionaloptions: GetLabelOptions

      Returns undefined | string

      O(label accessors); reads the fields named by the schema LabelAnnotation.