Function toPort

  • Throws if port is invalid, otherwise returns port as Port.

    Parameters

    • port: any

    Returns Port

Generated using TypeDoc