Files
2026-04-13 08:19:53 +08:00

17 lines
330 B
JavaScript

import { isFunction } from '../../predicate/isFunction.mjs';
function functionsIn(object) {
if (object == null) {
return [];
}
const result = [];
for (const key in object) {
if (isFunction(object[key])) {
result.push(key);
}
}
return result;
}
export { functionsIn };