0.1.3 • Published 6 years ago
entries-keys v0.1.3
entries-keys
NOTE: entries-keys was renamed to @extra-entries/keys.
Get keys from entries, like Object.keys().
const keys = require('entries-keys');
// keys(<entries>)
keys(['fixed deposit', 'insurance', 'mutual fund', 'sip'].entries());
// [0, 1, 2, 3]
keys(new Set(['savings', 'current', 'demat']).entries());
// ['savings', 'current', 'demat']
keys(Object.entries({govt: 'SBI', pvt: 'HDFC'}));
// ['govt', 'pvt']