UNPKG

@nestjs/cli

Version:

The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.

6 lines (5 loc) • 139 B
export function assertNonArray(value) { if (Array.isArray(value)) { throw new TypeError('Expected a non-array value'); } }