isPort.js 123 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 import isInt from './isInt'; export default function isPort(str) { return isInt(str, { min: 0, max: 65535 }); }