Closed kanitw closed 8 years ago
isSpecQueryModelGroup
as we can reliably use instanceof
model.ts
so we get cql.model.SpecQueryModelGroup
next to cql.model.SpecQueryModel
in the namespace. getTopItem
to getTopSpecModel
, so it's clearer :) isSpecQueryModelGroup
and getTopSpecModel
in
So that people won't modify it's inner context randomly. Plus,
getTopItem
can be a class method.