MCPcopy
hub / github.com/DetachHead/basedpyright / create

Function create

packages/pyright-internal/src/analyzer/types.ts:405–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403 };
404
405 export function create() {
406 // All Unbound objects are the same, so use a shared instance.
407 return _instance;
408 }
409
410 export function convertToInstance(type: UnboundType): UnboundType {
411 // Remove the "special form" if present. Otherwise return the existing type.

Callers 3

createInstanceFunction · 0.70
createInstantiableFunction · 0.70

Calls 3

isFunctionFunction · 0.85
forEachMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…