import * as NullOrUndefinedCheck from "../../../../../sync/check/generic/null-or-undefined"; import * as check from "../../../../../generated/sync/check/dictionary-of/date"; export type MaybeDictionaryOfPotentiallyUnsafeDateErrorCodeType = check.DictionaryOfPotentiallyUnsafeDateResult; export function checkMaybeDictionaryOfPotentiallyUnsafeDate (mixed : any) : undefined|MaybeDictionaryOfPotentiallyUnsafeDateErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfPotentiallyUnsafeDate ); } export type MaybeDictionaryOfValidDateErrorCodeType = check.DictionaryOfValidDateResult; export function checkMaybeDictionaryOfValidDate (mixed : any) : undefined|MaybeDictionaryOfValidDateErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfValidDate ); } export type MaybeDictionaryOfBeforeErrorCodeType = check.DictionaryOfBeforeResult; export function checkMaybeDictionaryOfBefore (mixed : any, x : Date) : undefined|MaybeDictionaryOfBeforeErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfBefore(mixed, x) } ); } export type MaybeDictionaryOfAfterErrorCodeType = check.DictionaryOfAfterResult; export function checkMaybeDictionaryOfAfter (mixed : any, x : Date) : undefined|MaybeDictionaryOfAfterErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfAfter(mixed, x) } ); } export type MaybeDictionaryOfBeforeOrAtErrorCodeType = check.DictionaryOfBeforeOrAtResult; export function checkMaybeDictionaryOfBeforeOrAt (mixed : any, x : Date) : undefined|MaybeDictionaryOfBeforeOrAtErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfBeforeOrAt(mixed, x) } ); } export type MaybeDictionaryOfAfterOrAtErrorCodeType = check.DictionaryOfAfterOrAtResult; export function checkMaybeDictionaryOfAfterOrAt (mixed : any, x : Date) : undefined|MaybeDictionaryOfAfterOrAtErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfAfterOrAt(mixed, x) } ); } export type MaybeDictionaryOfRangeErrorCodeType = check.DictionaryOfRangeResult; export function checkMaybeDictionaryOfRange (mixed : any, args : { min? : Date, max? : Date }) : undefined|MaybeDictionaryOfRangeErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfRange(mixed, args) } ); }