Documentation
You can see below the API reference of this module.
isSsh(input)
Checks if an input value is a ssh url or not.
Params
- String|Array
input
: The input url or an array of protocols.
Return
- Boolean
true
if the input is a ssh url, false
otherwise.