keys - nodef/extra-lists GitHub Wiki
List all keys.
function keys(x)
// x: lists
const xlists = require('extra-lists');
var x = ['a', 'b', 'c'], [1, 2, 3](/nodef/extra-lists/wiki/'a',-'b',-'c'],-[1,-2,-3);
[...xlists.keys(x)];
// → [ 'a', 'b', 'c' ]