Skip to main content
Module

x/neo4j_driver_lite/mod.ts>isDuration

Neo4j Bolt driver for JavaScript
Go to Latest
function isDuration
Re-export
import { isDuration } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";

Test if given object is an instance of Duration class.

Type Parameters

optional
T extends NumberOrInteger = Integer

Parameters

obj: unknown

the object to test.

Returns

obj is Duration<T>

true if given object is a Duration, false otherwise.