Skip to main content
Module

x/rambda/equals-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {equals} from 'rambda'
describe('R.equals', () => { it('happy', () => { const result = equals(4, 1) result // $ExpectType boolean }) it('with object', () => { const foo = {a: 1} const bar = {a: 2} const result = equals(foo, bar) result // $ExpectType boolean }) it('curried', () => { const result = equals(4)(1)
result // $ExpectType boolean })})