This repository has been archived on 2025-07-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
eternos/frontend/node_modules/underscore/modules/functions.js
T
2025-01-13 09:33:52 +03:00

11 lines
274 B
JavaScript

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