Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function assertValidYear
import { assertValidYear } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/temporal-util.ts";

Assert that the year value is valid.

Parameters

the value to check.

Returns

the value of the year if it is valid. Exception is thrown otherwise.