@dxos/echo
    Preparing search index...

    Function getMnemonic

    • Get the object's mnemonic: the last 6 characters of its id, uppercased. Short enough to read out or type, and stable for the life of the object, so it is how a person names a particular object — in a log line, a UI chip, or Filter.mnemonic(...). Accepts both reactive objects and snapshots.

      Parameters

      Returns string

      Obj.getMnemonic(task); // '7QK2ZB'
      

      O(1) slice of the id; no allocation beyond the result string.