isBroadcast static method

bool isBroadcast(
  1. int network
)

Check whether the network is a broadcast (anywhere/everywhere).

Implementation

static bool isBroadcast(int network) {
  return network & ANY == ANY;
}