UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

15 lines (10 loc) 318 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const keys = require('./keys.js'); function functions(object) { if (object == null) { return []; } return keys.keys(object).filter(key => typeof object[key] === 'function'); } exports.functions = functions;