deno.land / x / rambda@v9.1.1 / source / juxt.spec.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
import { juxt } from './juxt.js'
test('happy', () => { const fn = juxt([ Math.min, Math.max, Math.min ]) const result = fn( 3, 4, 9, -3 ) expect(result).toEqual([ -3, 9, -3 ])})
rambda

Version Info

Tagged at
2 months ago