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

Assert that the month value is valid.

Parameters

month: NumberOrInteger

the value to check.

Returns

NumberOrInteger

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