import { all , isArray } from '@typed/logic' ; import { BatchResponse } from '../../model' ; import { isResponse } from './isResponse' ; export function isBatchResponse ( x ) { return isArray ( x ) && all ( isResponse , x ) ; }