mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +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";
|
|
};
|