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