source: frontend/node_modules/underscore/cjs/functions.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 291 bytes
Line 
1var isFunction = require('./isFunction.js');
2
3// Return a sorted list of the function names available on the object.
4function functions(obj) {
5 var names = [];
6 for (var key in obj) {
7 if (isFunction(obj[key])) names.push(key);
8 }
9 return names.sort();
10}
11
12module.exports = functions;
Note: See TracBrowser for help on using the repository browser.