Re: how to check if an element is in array

2013-11-18 Thread Andrea Fontana
On Monday, 18 November 2013 at 15:33:22 UTC, seany wrote: Is there a built in function in D to check if an element is a member of a (possibly multidimensional array? say function(array, element). that returns to, if the element is in the array, (or even better, if the elements of the array ar

Re: how to check if an element is in array

2013-11-18 Thread Jacob Carlborg
On 2013-11-18 16:33, seany wrote: Is there a built in function in D to check if an element is a member of a (possibly multidimensional array? say function(array, element). that returns to, if the element is in the array, (or even better, if the elements of the array are arrays themselves, then r