Skip to main content
Module

x/rambda/source/without-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {without} from 'rambda'
const itemsToOmit = ['A', 'B', 'C']const collection = ['A', 'B', 'C', 'D', 'E', 'F']
describe('R.without', () => { it('happy', () => { const result = without(itemsToOmit, collection)
result // $ExpectType string[] }) it('curried', () => { const result = without(itemsToOmit)(collection)
result // $ExpectType string[] })})