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

x/oura_api/src/utils.ts>isValidDate

Typescript project to interact with v2 of the Oura Ring API
Latest
function isValidDate
import { isValidDate } from "https://deno.land/x/oura_api@1.0.1/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.