convertsToDate
convertsToDate()
Section titled “convertsToDate()”Category: Conversion
Returns true if the input can be converted to a date
Signature
Section titled “Signature”- Return type:
Boolean
Examples
Section titled “Examples”'2023-12-25'.convertsToDate()'invalid-date'.convertsToDate()