mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 16:42:19 +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";
|
|
};
|