import * as NullOrUndefinedCheck from "../../../../../sync/check/generic/null-or-undefined"; import * as check from "../../../../../generated/sync/check/dictionary-of/string"; export type MaybeDictionaryOfStringErrorCodeType = check.DictionaryOfStringResult; export function checkMaybeDictionaryOfString (mixed : any) : undefined|MaybeDictionaryOfStringErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfString ); } export type MaybeDictionaryOfMinLengthErrorCodeType = check.DictionaryOfMinLengthResult; export function checkMaybeDictionaryOfMinLength (mixed : any, min : number) : undefined|MaybeDictionaryOfMinLengthErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfMinLength(mixed, min) } ); } export type MaybeDictionaryOfMaxLengthErrorCodeType = check.DictionaryOfMaxLengthResult; export function checkMaybeDictionaryOfMaxLength (mixed : any, max : number) : undefined|MaybeDictionaryOfMaxLengthErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfMaxLength(mixed, max) } ); } export type MaybeDictionaryOfLengthErrorCodeType = check.DictionaryOfLengthResult; export function checkMaybeDictionaryOfLength (mixed : any, args : { min? : number, max? : number }) : undefined|MaybeDictionaryOfLengthErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfLength(mixed, args) } ); } export type MaybeDictionaryOfNonEmptyErrorCodeType = check.DictionaryOfNonEmptyResult; export function checkMaybeDictionaryOfNonEmpty (mixed : any) : undefined|MaybeDictionaryOfNonEmptyErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfNonEmpty ); } export type MaybeDictionaryOfContainsErrorCodeType = check.DictionaryOfContainsResult; export function checkMaybeDictionaryOfContains (mixed : any, x : string) : undefined|MaybeDictionaryOfContainsErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfContains(mixed, x) } ); } export type MaybeDictionaryOfNoDuplicateErrorCodeType = check.DictionaryOfNoDuplicateResult; export function checkMaybeDictionaryOfNoDuplicate (mixed : any) : undefined|MaybeDictionaryOfNoDuplicateErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfNoDuplicate ); } export type MaybeDictionaryOfNotAllWhitespaceErrorCodeType = check.DictionaryOfNotAllWhitespaceResult; export function checkMaybeDictionaryOfNotAllWhitespace (mixed : any) : undefined|MaybeDictionaryOfNotAllWhitespaceErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfNotAllWhitespace ); } export type MaybeDictionaryOfNonEmptyAndNotAllWhitespaceErrorCodeType = check.DictionaryOfNonEmptyAndNotAllWhitespaceResult; export function checkMaybeDictionaryOfNonEmptyAndNotAllWhitespace (mixed : any) : undefined|MaybeDictionaryOfNonEmptyAndNotAllWhitespaceErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfNonEmptyAndNotAllWhitespace ); } export type MaybeDictionaryOfMatchErrorCodeType = check.DictionaryOfMatchResult; export function checkMaybeDictionaryOfMatch (mixed : any, regex : RegExp) : undefined|MaybeDictionaryOfMatchErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfMatch(mixed, regex) } ); } export type MaybeDictionaryOfEmailErrorCodeType = check.DictionaryOfEmailResult; export function checkMaybeDictionaryOfEmail (mixed : any) : undefined|MaybeDictionaryOfEmailErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfEmail ); } export type MaybeDictionaryOfNotOneOfErrorCodeType = check.DictionaryOfNotOneOfResult; export function checkMaybeDictionaryOfNotOneOf (mixed : any, arr : T[]) : undefined|MaybeDictionaryOfNotOneOfErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, () => { return check.checkDictionaryOfNotOneOf(mixed, arr) } ); } export type MaybeDictionaryOfBase64ErrorCodeType = check.DictionaryOfBase64Result; export function checkMaybeDictionaryOfBase64 (mixed : any) : undefined|MaybeDictionaryOfBase64ErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfBase64 ); } export type MaybeDictionaryOfJsonErrorCodeType = check.DictionaryOfJsonResult; export function checkMaybeDictionaryOfJson (mixed : any) : undefined|MaybeDictionaryOfJsonErrorCodeType { return NullOrUndefinedCheck.checkNullOrUndefinedOr( mixed, check.checkDictionaryOfJson ); }