js/model/model.js
function getDomainsForBitField(oModel, bitfield) {
    return oModel.domains.filter(domain => (getDomainBitIndex(domain, oModel) & bitfield));
}
function getDomainsForBitField(oModel, bitfield) {
    return oModel.domains.filter(domain => (getDomainBitIndex(domain, oModel) & bitfield));
}
function getDomainsForBitField ( oModel , bitfield ) { return oModel . domains . filter ( domain => ( getDomainBitIndex ( domain , oModel ) & bitfield ) ) ; }
Given a bitfield, return an unsorted set of domains matching present bits
@param oModel
@param bitfield
Given a bitfield return an unsorted set of domains matching present bits