deno.land / x / rambda@v9.1.1 / source / pass-spec.ts
123456789101112131415import {pass} from 'rambda'
describe('R.pass', () => { it('happy', () => { const result = pass(1, 'foo')(String, Number)
result // $ExpectType boolean }) it('with string rules', () => { const result = pass(1, 'foo')('string', 'number')
result // $ExpectType boolean })})
Version Info