UNPKG

guardz

Version:

A simple and lightweight TypeScript type guard library for runtime type validation.

4 lines (3 loc) 215 B
import { NonEmptyArray } from '../types/NonEmptyArray'; import type { TypeGuardFn } from './isType'; export declare function isNonEmptyArrayWithEachItem<T>(predicate: TypeGuardFn<T>): TypeGuardFn<NonEmptyArray<T>>;