StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2.5 KiB

isobject NPM version Build Status

Returns true if the value is an object and not an array or null.

Use is-plain-object if you want only objects that are created by the Object constructor.

Install

Install with npm

$ npm i isobject --save

Install with bower

$ bower install isobject --save

Usage

var isObject = require('isobject');

True

All of the following return true:

isObject({});
isObject(Object.create({}));
isObject(Object.create(Object.prototype));
isObject(Object.create(null));
isObject({});
isObject(new Foo);
isObject(/foo/);

False

All of the following return false:

isObject();
isObject(function () {});
isObject(1);
isObject([]);
isObject(undefined);
isObject(null);
  • assign-deep: Deeply assign the enumerable properties of source objects to a destination object.
  • extend-shallow: Extend an object with the properties of additional objects. node.js/javascript util.
  • is-plain-object: Returns true if an object was created by the Object constructor.
  • is-extendable: Returns true if a value is any of the object types: array, regexp, plain object,… more
  • is-equal-shallow: Does a shallow comparison of two objects, returning false if the keys or values differ.
  • kind-of: Get the native type of a value.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on July 13, 2015.