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