MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / isDate

Function isDate

lib/utils.ts:556–564  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

554];
555
556export function isDate(str: string): boolean {
557 for (const format of dateFormats) {
558 const dt = DateTime.fromFormat(str, format);
559 if (dt.isValid) {
560 return true;
561 }
562 }
563 return false;
564}
565
566export function joinArraysNoDuplicates<T extends Record<string, any>>(
567 arr1: T[],

Callers 3

isTextWithSubstanceFunction · 0.90
isDate.test.tsFile · 0.90
isIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected