All new
alle new
This commit is contained in:
1 parent
da64472251
commit
5b20adee48
1605 files changed
+396517
-1674
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
}
|
||||
Reference in new issue
Block a user