Philipp Horstenkamp 2b58149655
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s
Added the underscore node_module.
2023-11-19 13:27:05 +01:00

15 lines
308 B
JavaScript

define(['./isFunction'], function (isFunction) {
// Return a sorted list of the function names available on the object.
function functions(obj) {
var names = [];
for (var key in obj) {
if (isFunction(obj[key])) names.push(key);
}
return names.sort();
}
return functions;
});