UNPKG

rubico

Version:

[a]synchronous functional programming

15 lines (11 loc) 349 B
/** * rubico v2.6.2 * https://github.com/a-synchronous/rubico * (c) 2019-2024 Richard Tong * rubico may be freely distributed under the MIT license. */ const objectValues = Object.values const values = object => object == null ? [] : typeof object.values == 'function' ? [...object.values()] : objectValues(object) export default values