MCPcopy Index your code
hub / github.com/deepnote/deepnote / isBuiltinOrGlobal

Function isBuiltinOrGlobal

packages/cli/src/utils/python-builtins.ts:23–25  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

21 * Check if a variable name is a Python builtin or common global.
22 */
23export function isBuiltinOrGlobal(name: string): boolean {
24 return PYTHON_BUILTINS.has(name) || DATA_SCIENCE_GLOBALS.has(name)
25}

Callers 1

checkUndefinedVariablesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected