Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 1.1 KB

readme.md

File metadata and controls

27 lines (18 loc) · 1.1 KB

❓ plugin-assert

npm linux windows coverage deps

Node.js assert().

Install

$ yarn add --dev @start/plugin-assert
# or
$ npm install --save-dev @start/plugin-assert

Usage

Signature

assert(arg: any, message?: string)

Example

export const task = (arg) => assert(arg, 'arg is required')