0.0.3 • Published 2 years ago

@cserje/validators v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Welcome to my first validation library

It will contain validator functions.

Functions

function isValidDate(dateString: string): boolean

It validates the given date string parameter.

Parameters

  • dateString : String parameter, accepts "yyy/mm/dd" or "yyyy-mm-dd" formats.

Return Values

isValidDate returns true if the date is valid, false if it does not.

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago