]> gerrit.simantics Code Review - simantics/district.git/blob - es5-ext/object/find.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / es5-ext / object / find.js
1 'use strict';
2
3 var findKey = require('./find-key');
4
5 module.exports = function (obj, cb/*, thisArg, compareFn*/) {
6         var key = findKey.apply(this, arguments);
7         return (key == null) ? key : obj[key];
8 };