Re: map anomaly
- Posted by useless_ Aug 04, 2012
- 1190 views
jimcbrown said...
eukat said...
Give the first (or last) element of your maps a unique label, then you can test that element in that object for being a map in a type test you write.
eukat
That won't work. Integers (and therefore the value directly stored in the map variable itself) don't have elements.
Your runtime type check code cannot open the map and look at the first (or last) element, thereby doing a pass/fail on opening the map and a pass/fail on the first (or last) element?
WhatEverNickYouLikeHere