Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
/**
* Whether a variable is set to anything at all, as the CLI's privacy level
* reads DISABLE_TELEMETRY: any non-empty value counts, `0` included.
*
* @param value the variable as the environment holds it
* @returns true for a non-empty value
*/
export const isEnvSet = (value: string | undefined) =>
value !== undefined && value !== ''