2.0.0 • Published 4 years ago

@start/plugin-assert v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

❓ plugin-assert

Node.js assert().

Install

$ yarn add --dev @start/plugin-assert

Usage

Signature

assert(arg: any, message?: string)

Example

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