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