deno.land / x / rambda@v9.1.1 / source / props-spec.ts
1234567891011121314151617import {props} from 'rambda'
const obj = {a: 1, b: 2}
describe('R.props', () => { it('happy', () => { const result = props(['a', 'b'], obj)
result // $ExpectType number[] }) it('curried', () => { const result = props(['a', 'b'])(obj)
result // $ExpectType number[] })})
Version Info