UNPKG

@naverpay/hidash

Version:

improved lodash

16 lines (13 loc) 509 B
import toPairs from './toPairs.js'; import './internal/types.js'; /** * @description * Converts a given object, array, or collection into an array of key-value pairs. * * Exactly the same as `toPairs`, but with a different name. (Alias of `toPairs`) * * @param {AnyKindOfDictionary<Value> | object | Map<Key, Value> | Set<Value>} [object] The object to convert * @returns {[Key, Value][]} An array of key-value pairs */ declare const entries: typeof toPairs; export { entries as default, entries };