DefinitelyTyped/types/is-ssh/index.d.ts
2019-08-21 10:28:52 -07:00

13 lines
428 B
TypeScript

// Type definitions for is-ssh 1.3
// Project: https://github.com/IonicaBizau/node-is-ssh
// Definitions by: Florian Keller <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* @param input The input url or an array of protocols.
* @returns `true` if the input is a ssh url, `false` otherwise.
*/
declare function isSsh(input: string | string[]): boolean;
export = isSsh;