import * as check from "../../../../generated/sync/check/string-format/date"; export function isPotentiallyUnsafeDateString (mixed : any) : mixed is string { return check.checkPotentiallyUnsafeDateString(mixed) === undefined; } export function isValidDateString (mixed : any) : mixed is string { return check.checkValidDateString(mixed) === undefined; } export function isBeforeString (mixed : any, x : Date) : mixed is string { return check.checkBeforeString(mixed, x) === undefined; } export function isAfterString (mixed : any, x : Date) : mixed is string { return check.checkAfterString(mixed, x) === undefined; } export function isBeforeOrAtString (mixed : any, x : Date) : mixed is string { return check.checkBeforeOrAtString(mixed, x) === undefined; } export function isAfterOrAtString (mixed : any, x : Date) : mixed is string { return check.checkAfterOrAtString(mixed, x) === undefined; } export function isRangeString (mixed : any, args : { min? : Date, max? : Date }) : mixed is string { return check.checkRangeString(mixed, args) === undefined; }