Automerge Repo - v2.3.0-alpha.0
    Preparing search index...

    Variable getObjectIdConst

    getObjectId: (doc: any, prop?: Automerge.Prop) => null | string = Automerge.getObjectId

    Type declaration

      • (doc: any, prop?: Automerge.Prop): null | string
      • 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

        Returns null | string