isPhone method

bool isPhone()

Checks if the current breakpoint corresponds to a phone device.

Implementation

bool isPhone() {
  return phone.contains(this);
}