Skip to content

isRelatesTrait

isRelatesTrait(item): item is RelatesTrait

Generated from the TypeQLite grammar.

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

unknown

item is RelatesTrait

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.