We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Filter characters that pass the test, like Array.filter().
Array.filter()
const filter = require('@extra-string/filter'); // filter(<string>, <testFn>, [thisArg]) filter('g00df00d', (v) => v<='f'); // '00df00d' filter('badfood', (v) => v<='f'); // 'badfd' filter('', (v) => v<='f'); // ''