]> gerrit.simantics Code Review - simantics/district.git/blob - es5-ext/object/valid-object.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / es5-ext / object / valid-object.js
1 'use strict';
2
3 var isObject = require('./is-object');
4
5 module.exports = function (value) {
6         if (!isObject(value)) throw new TypeError(value + " is not an Object");
7         return value;
8 };