Skip to content

assertcheck v1.0.0


assertcheck / assert / noNilValues

Function: noNilValues() ​

ts
function noNilValues<T>(obj, opts?): void;

Defined in: src/assert.ts:1692

Asserts that no value in obj is null or undefined.

Type Parameters ​

Type Parameter
T extends object

Parameters ​

ParameterType
objT
opts?Opts

Returns ​

void

Example ​

ts
`assert.noNilValues(config, "config must have no null values")`

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