import * as check from "../../../../../../generated/sync/check/maybe/dictionary-of/array-of/null-or-undefined"; import {AssertError} from "../../../../../../sync/error/AssertError"; export function assertMaybeDictionaryOfArrayOfNullOrUndefined (name : string, mixed : any) : (null|undefined|({ [key : string] : (null|undefined)[] }))|never { const error = check.checkMaybeDictionaryOfArrayOfNullOrUndefined(mixed); if (error === undefined) { return mixed; } else { throw new AssertError(name, error, mixed); } }