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