import * as check from "../../../../generated/sync/check/maybe/string"; export function isMaybeString (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeString(mixed) === undefined; } export function isMaybeMinLength (mixed : any, min : number) : mixed is null|undefined|(string) { return check.checkMaybeMinLength(mixed, min) === undefined; } export function isMaybeMaxLength (mixed : any, max : number) : mixed is null|undefined|(string) { return check.checkMaybeMaxLength(mixed, max) === undefined; } export function isMaybeLength (mixed : any, args : { min? : number, max? : number }) : mixed is null|undefined|(string) { return check.checkMaybeLength(mixed, args) === undefined; } export function isMaybeNonEmpty (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeNonEmpty(mixed) === undefined; } export function isMaybeContains (mixed : any, x : string) : mixed is null|undefined|(string) { return check.checkMaybeContains(mixed, x) === undefined; } export function isMaybeNoDuplicate (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeNoDuplicate(mixed) === undefined; } export function isMaybeNotAllWhitespace (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeNotAllWhitespace(mixed) === undefined; } export function isMaybeNonEmptyAndNotAllWhitespace (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeNonEmptyAndNotAllWhitespace(mixed) === undefined; } export function isMaybeMatch (mixed : any, regex : RegExp) : mixed is null|undefined|(string) { return check.checkMaybeMatch(mixed, regex) === undefined; } export function isMaybeEmail (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeEmail(mixed) === undefined; } export function isMaybeNotOneOf (mixed : any, arr : T[]) : mixed is null|undefined|(string) { return check.checkMaybeNotOneOf(mixed, arr) === undefined; } export function isMaybeBase64 (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeBase64(mixed) === undefined; } export function isMaybeJson (mixed : any) : mixed is null|undefined|(string) { return check.checkMaybeJson(mixed) === undefined; }