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