import {rejectIndexed} from 'rambda'
describe('R.rejectIndexed with array', () => { it('happy', () => { const result = rejectIndexed( (x, index) => { x index return x > 1 }, [1, 2, 3] ) result }) it('curried require explicit type', () => { const result = rejectIndexed<number>((x, index) => { x index return x > 1 })([1, 2, 3]) result })})
describe('R.rejectIndexed with objects', () => { it('happy', () => { const result = rejectIndexed( (x, prop) => { x prop
return x > 1 }, {a: 1, b: 2} ) result }) it('curried require dummy type', () => { const result = rejectIndexed<number, any>((x, prop) => { x prop return x > 1 })({a: 1, b: 2}) result })})