Add type checks to `inetPtoN()` and `inetNtoP()`
-
inetPtoN()
- Throw for not string input
- Throw for no match as IPv4 or IPv6
- optimize
const
/let
usage and placement
-
inetNtoP()
- Throw for not string input
- Throw for not length 4 or 16
inetPtoN()
const
/let
usage and placementinetNtoP()