@dxos/echo
    Preparing search index...

    Variable hasEntityIdConst

    hasEntityId: (id: string) => (ref: Ref<any>) => boolean = refInternal.Ref.hasEntityId

    Create a predicate that tests whether a ref points to the given entity id.

    Type declaration

      • (id: string): (ref: Ref<any>) => boolean
      • Parameters

        • id: string

        Returns (ref: Ref<any>) => boolean

    O(1) per call of the returned predicate (parses the ref URI).