Skip to main content
Very Popular
Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.22.1/isExists/index.ts";

Examples

// For the valid date: var result = isExists(2018, 0, 31) //=> true

// For the invalid date: var result = isExists(2018, 1, 31) //=> false

Parameters

year: number

of the date to check

month: number

of the date to check

day: number

of the date to check

Returns

boolean

the date exists