handrail:为您的管道增加安全性-源码下载

向朝卿 2021-07-24 13:37:26
用于为您的功能管道增加安全性的工具集 请阅读以获得更深入的解释。 此实用为您的功能管道添加了/。 注意:在此处以可运行的形式查看此文件: 安装 yarn add handrail -S 要么 npm i handrail -S 采用 这是一个多合一示例,我们可以在不修改原始函数的情况下使不安全函数更安全: import { guideRail , fold } from 'handrail' import pipe from 'ramda/src/pipe' // here are two potential error cases const over21 = ( { age } ) => age > 20 const hasMoney = ( { cash } ) => cash - 5 >= 0 // and these are the cases we pass to , 相关下载链接:https://download.csdn.net/download/weixin_42117267/20443641?utm_source=bbsseo
...全文
26 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

13,654

社区成员

发帖
与我相关
我的任务
社区描述
CSDN 下载资源悬赏专区
其他 技术论坛(原bbs)
社区管理员
  • 下载资源悬赏专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧