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.
 
 
 
 
StackGenVis/frontend/node_modules/repo-utils/utils.js

52 lines
902 B

'use strict';
var utils = require('lazy-cache')(require);
var fn = require;
require = utils;
/**
* Module depedencies
*/
require('extend-shallow', 'extend');
require('get-value');
require('git-config-path');
require('is-absolute');
require('kind-of', 'typeOf');
require('mixin-deep', 'merge');
require('omit-empty');
require('parse-author');
require('parse-git-config');
require('parse-github-url');
require('project-name', 'project');
require = fn;
/**
* Get `prop` from the given object
*/
utils.get = function(obj, prop) {
return utils.getValue(obj || {}, prop);
};
/**
* Return true if `val` is an object
*/
utils.isObject = function(val) {
return utils.typeOf(val) === 'object';
};
/**
* Return true if `val` is a string with a non-zero length
*/
utils.isString = function(val) {
return val && typeof val === 'string';
};
/**
* Expose `utils`
*/
module.exports = utils;