UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

11 lines 407 B
/** * @public * Returns true if the argument is not null, undefined or empty. Type narrows to `TArray` where true. * * @returns true if the argument is a non-zero length array. * * @remarks * See {@link arrayIsNotEmpty}. */ export declare function arrayIsNotEmpty<TArray extends ArrayLike<unknown>>(items: TArray | null | undefined): items is TArray; //# sourceMappingURL=array-is-not-empty.d.ts.map