Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/postgres/deps.ts>date.isLeap

PostgreSQL driver for Deno
Go to Latest
function date.isLeap
import { date } from "https://deno.land/x/postgres@ls/deps.ts";
const { isLeap } = date;

Parameters

year: Date | number

year in number or Date format

Returns

boolean