CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
_baseFunctions.js20 linesDownload Raw Back to lodash
1var arrayFilter = require('./_arrayFilter'),2    isFunction = require('./isFunction');3 4/**5 * The base implementation of `_.functions` which creates an array of6 * `object` function property names filtered from `props`.7 *8 * @private9 * @param {Object} object The object to inspect.10 * @param {Array} props The property names to filter.11 * @returns {Array} Returns the function names.12 */13function baseFunctions(object, props) {14  return arrayFilter(props, function(key) {15    return isFunction(object[key]);16  });17}18 19module.exports = baseFunctions;20 
basant307/AI_Governance_Project · CoolFace