deno.land / x / rambda@v9.1.1 / source / indexOf-spec.ts

indexOf-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import {indexOf} from 'rambda'
describe('R.indexOf', () => { it('happy', () => { const list = [1, 2, 3] const result = indexOf(1, list) const curriedResult = indexOf(1)(list)
result // $ExpectType number curriedResult // $ExpectType number })})
rambda

Version Info

Tagged at
2 months ago