Skip to main content
Module

x/rambda/source/has-spec.ts

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