Skip to main content
Module

x/rambda/source/uniqBy-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {uniqBy} from 'rambda'
describe('R.uniqBy', () => { it('happy', () => { const result = uniqBy(Math.abs, [-2, -1, 0])
result // $ExpectType number[] }) it('curried', () => { const result = uniqBy(Math.abs)([-2, -1, 0])
result // $ExpectType number[] })})