Skip to main content
Module

x/rambda/and-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {and} from 'rambda'
describe('R.and', () => { it('happy', () => { const result = and(true, false) result // $ExpectType boolean }) it('curried', () => { const result = and('foo')(1) result // $ExpectType string | 1 })})