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