Skip to main content
Module

x/rambda/source/of-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {of} from 'ramda'
const list = [1, 2, 3]
describe('R.of', () => { it('happy', () => { const result = of(4)
result // $ExpectType number[] }) it('curried', () => { const result = of(list)
result // $ExpectType number[][] })})