forked from actions/setup-maven
11 lines
274 B
JavaScript
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();
|
|
}
|