@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i @waksana/naive-function

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

3.88 kB

Total Files

7

Last publish

Collaborators

  • waksana