This code:
boolean(null); ', ';
boolean(string); ', ';
boolean(integer);', ';
boolean(array); ', ';
boolean(map); ', ';
gives:
false, false, false, true, true
This is different from L8. Is this intentional? If so, why?
This has consequences which I think are counterintuitive:
if(array(1) -> find('whatever'));
This evaluates as true.
- Jussi