Skip to content

isDurationLiteral

isDurationLiteral(item): item is DurationLiteral

Generated from the TypeQLite grammar.

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

unknown

item is DurationLiteral

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.