Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function isDirective(entry: any): entry is SSHConfig.ConfigDirective {
return entry && entry.type === SSHConfig.DIRECTIVE;
}
function isConfigDirective(entry: SSHConfig.Config): entry is SSHConfig.ConfigDirective {
return entry.type === SSHConfig.DIRECTIVE;
}