@httpx/assert
Version:
Assertions and typeguards
11 lines (8 loc) • 391 B
TypeScript
import { A as ArrayNonEmpty } from './array.types-DxWZ0_TK.js';
import { M as MsgOrErrorFactory } from './internal.types-D5VRBw-5.js';
/**
* Assert string is not empty (trims the string by default)
* @throws TypeError
*/
declare function assertArrayNonEmpty<T = unknown>(v: unknown, msgOrErrorFactory?: MsgOrErrorFactory): asserts v is ArrayNonEmpty<T>;
export { assertArrayNonEmpty };