import { all , isArray } from '@typed/logic' ; import { BatchRequest } from '../../model' ; import { isRequest } from './isRequest' ; export function isBatchRequest ( x ) { return isArray ( x ) && all ( isRequest , x ) ; }