@dxos/echo
    Preparing search index...

    Function getBranch

    • Get the branch this object instance is bound to: 'main' for the canonical object, or the branch of a db.branch() independent instance. The branch is a property of the instance — two instances of the same object id on different branches each report their own branch.

      Parameters

      Returns string

      O(1) slot read.