Skip to main content
Module

x/rambda/append-spec.ts

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