Closed roukmoute closed 7 years ago
Hi. The some operation does exactly what you need. Let me know if you have further questions.
You could use some
(the method names in the docs seem to be wrong, though. I'll create a PR to fix this):
Collection::from($myArrayOfAsciiCode)->some(function ($ascii) use ($path) {
return strpos($path, chr($ascii)) !== false;
});
And I just realized the docs are showing wrong examples. Need to fix asap. Refer to tests for examples for now.
Fixed in #32
Thanks for your rapidity guys :blush:!
Hi!
I would like to know how can I use pipeline collection with this code:
I do this:
Is this the better way?
Thanks