On Friday, 7 December 2018 at 19:38:29 UTC, Arun Chandrasekaran
On Friday, 7 December 2018 at 19:12:31 UTC, Seb wrote:
On Friday, 7 December 2018 at 18:51:27 UTC, Arun
Alternatively to the answers above you can also use a custom
lambda for canFind:
Just curious, how do we find multiple needles? This throws
assert(hay.canFind!(e => (e.canFind(["111", "222"]))));
An example in the doc would be helpful.
It's variadic: https://run.dlang.io/is/AKkKA9
Please feel free to add an example to the docs.