UNPKG

@thisismanta/pessimist

Version:

This is a Node.js library that helps derive `process.argv` array into a flexible, value-strict, TypeScript-friendly object.

2 lines (1 loc) 83 B
export declare function parseBoolean(value: any, defaultValue?: boolean): boolean;