isClassicProviderId
function isClassicProviderId(providerId: ProviderId | undefined): providerId is "ftp" | "ftps" | "sftp";Defined in: src/core/ProviderId.ts:45
Checks whether a provider id belongs to the classic FTP/FTPS/SFTP family.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
providerId | ProviderId | undefined | Provider id to inspect. |
Returns
Section titled “Returns”providerId is “ftp” | “ftps” | “sftp”
true when the id is one of the classic protocol providers.