Skip to content

isEntityDef

isEntityDef(item): item is EntityDef

Generated from the TypeQLite grammar.

Whether item is an EntityDef node, as a type guard. It is true for any subtype too.

unknown

item is EntityDef

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.