Skip to main content
Module

x/rambda/source/_internals/isObject.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {_isObject} from './isObject'
test('happy', () => { expect(_isObject({})).toBeTruthy()})
test('with array', () => { expect(_isObject([])).toBeFalsy()})
test('with object-alike boolean', () => { expect(_isObject(new Boolean(true))).toBeFalsy()})