( dateStr: string, formatStr: string, options?: IsMatchOptions, )
| 302 | * //=> true |
| 303 | */ |
| 304 | export function isMatch( |
| 305 | dateStr: string, |
| 306 | formatStr: string, |
| 307 | options?: IsMatchOptions, |
| 308 | ): boolean { |
| 309 | return isValid(parse(dateStr, formatStr, new Date(), options)); |
| 310 | } |