January 25, 2008 Re: In expression for array | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Janice Caron | Janice Caron wrote: >> So the in-operator should look for an >> item, not a key > > Except that aa[key] will crash if key is not in aa, so you /really/ want to be able to test for the presence of a key in an AA. Of course! Just not with the in-operator. -- Michiel | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply