mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
5 lines
210 B
TypeScript
5 lines
210 B
TypeScript
export const isSshAgentNoneValue = (value: string | undefined): boolean => {
|
|
if (typeof value !== "string") return false;
|
|
return value.trim().replace(/^["']|["']$/g, "").trim().toLowerCase() === "none";
|
|
};
|