@dxos/echo
    Preparing search index...

    Function getLabel

    • Get the label of the object. Accepts both reactive objects and snapshots.

      Parameters

      • entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>
      • Optionaloptions: GetLabelOptions
        • fallback

          'typename' returns the object's typename when no label is set (e.g. org.dxos.type.table).

      Returns undefined | string

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