We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Create string from iterable, like Array.from().
Array.from()
const from = require('@extra-string/from'); // from(<iterable>, [mapFn], [thisArg]) from(['a', 'b']); // 'ab' from('abc', (v) => String.fromCharCode(v.charCodeAt()+1)); // 'bcd' from(new Set().add('a').add('b')); // 'ab' from(new Map().set('a', 1).set('b', 2)); // 'a,1b,2'