Skip to content

Latest commit

 

History

History
 
 

plugin-assert

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

❓ 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')