optionify
An 1KB (gzipped) utility which returns an Option
type. No dependencies. Works both in browser and Node.js.
Installation
Using Yarn:
$ yarn add optionify
Using npm:
$ npm install optionify
Usage
const fn = const option = consoleconsoleconsole
For more usage please check Rust std documentation.
License
MIT License
Copyright (c) 2018-present Pig Fang