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