how to use 3

node v10.24.1
version: 2.0.0
endpointsharetweet
const { notAsked, success, map } = require('dataway'); const upperCasedSuccess = map(value => value.toUpperCase())(success('Mr Wilson')); map(value => value.split(' '))(upperCasedSuccess); // => Success ['MR', 'WILSON'] const foo = map(value => value.toUpperCase())(notAsked); map(value => value.split(' '))(foo); // => NotAsked
Loading…

no comments

    sign in to comment