Skip to content

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.

ParameterTypeDescription
providerIdProviderId | undefinedProvider id to inspect.

providerId is “ftp” | “ftps” | “sftp”

true when the id is one of the classic protocol providers.