Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oura_api/src/utils.ts>isValidDate

Deno project to interact with v2 of the Oura Ring API
Go to Latest
function isValidDate
import { isValidDate } from "https://deno.land/x/oura_api@0.4.0/src/utils.ts";

Checks if a given string represents a valid date.

Parameters

dateString: string
  • The date string to validate.

Returns

boolean

Returns true if the date string is a valid date; otherwise, false.