@dxos/echo
    Preparing search index...

    Function isType

    • Type predicate: true iff the value is any type-kind ECHO entity — a static Type.Obj / Type.Relation produced by Type.makeObject / Type.makeRelation, a static meta Type.Type, or a persisted Type.Type returned by the database.

      All three branches stamp [KindId] = Type, so this is a single brand check. Use isObject / isRelation / isTypeKind when you need to discriminate further; use getDatabase when you mean "is this a db-attached type" (vs. an in-memory declaration).

      Parameters

      • value: unknown

      Returns value is AnyEntity

      O(1) brand check; no allocation.