@httpx/assert
Version:
Assertions and typeguards
12 lines (9 loc) • 413 B
TypeScript
import { N as NumberSafeInt } from './number.types-SpffazvY.js';
import { M as MsgOrErrorFactory } from './internal.types-D5VRBw-5.js';
import './opaque.types-Dc5fGlwR.js';
/**
* Assert string is not empty (trims the string by default)
* @throws TypeError
*/
declare function assertNumberSafeInt(v: unknown, msgOrErrorFactory?: MsgOrErrorFactory): asserts v is NumberSafeInt;
export { assertNumberSafeInt };