@waksana/naive-function
v0.0.3
Published
function with signature
Downloads
3
Readme
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