Provides mask utilities
- Source
Classes
Methods
(inner) getRange() → {Number}
Display the range of a mask
this method expects the instance to hold a mask value
- Source
Returns:
the range as a numeric value
- Type:
- Number
Example
const range = IPv4.from('255.255.255.0').getRange(); // 24