Check whether the port with a given number is bound
Usage example
const checkPort = ; ;
Documentation
checkPort(port)
takes one argument, which is the number of the port to be
checked. It returns a promise, which resolves to a boolean value reflecting
whether the port is bound.
License
Unlicense. (This is public domain work.)