Skip to content

assertcheck v0.6.0


assertcheck / assert / notEmpty

Function: notEmpty() ​

ts
function notEmpty<T>(v, opts?): asserts v is NonNullable<T>;

Defined in: src/assert.ts:193

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
vT
opts?Opts

Returns ​

asserts v is NonNullable<T>

Released under the Apache 2.0 License. Built by Vagabond Studio — senior-only for growing companies.