@waksana/naive-function

0.0.3 • Public • Published

naive-function

function with signature

const {Num, Str} = require('chkr')
const func = require('@waksana/naive-function')

const numberToString = func(Num, Str, a => a.toString())

numberToString(12) //=> '12'
numberToString('abc') //throws error

Readme

Keywords

none

Package Sidebar

Install

npm i @waksana/naive-function

Weekly Downloads

3

Version

0.0.3

License

ISC

Unpacked Size

3.88 kB

Total Files

7

Last publish

Collaborators

  • waksana