Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / exotic   js

Repository URL to install this package:

Version: 2.0.8 

/ CHANGELOG.md

2.0.0

  • big release, sideEffects: false

2.0.1

  • patching export typos

2.0.2

  • unsure

2.0.3

const isObj = (x: any): x is object =>
  !isNull(x) && (objTypeof(x) || isFunction(x))
const isOBJ = (x: any): x is Object =>
  !isNull(x) && (objTypeof(x) || isFunction(x))
const obj = eval(`{prop: 'eh'}`)
const arr = []
if (isOBJ(obj) && obj.prop) {}
if (isObj(obj) && obj.prop) {}