...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
function iHave(structure) {
var list = enumStruct(me,structure);
return (list.length && list.some(function(building) {
return building.status == BUILT;
});
} |
...
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
function iHave(structure) {
var list = enumStruct(me,structure);
return (list.length && list.some(function(building) {
return building.status == BUILT;
});
} |
...