deno.land / x / rambda@v9.1.1 / source / slice-spec.ts
123456789101112131415import {slice} from 'rambda'
const list = [1, 2, 3, 4, 5]
describe('R.slice', () => { it('happy', () => { const result = slice(1, 3, list) result // $ExpectType number[] }) it('curried', () => { const result = slice(1, 3)(list) result // $ExpectType number[] })})
Version Info