Skip to content

isLiteral

isLiteral(item): item is Literal

Generated from the TypeQLite grammar.

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

unknown

item is Literal

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.