@automerge/automerge - v3.0.0
    Preparing search index...

    Function getObjectId

    • Return the object ID of an arbitrary javascript value

      This is useful to determine if something is actually an automerge document, if doc is not an automerge document this will return null.

      Parameters

      • doc: any
      • Optionalprop: Prop

      Returns null | string