getRefCount
getRefCount(
obj:unknown):number
Defined in: packages/pythonlib/src/sys.ts:226
Return the reference count for the object. JavaScript uses garbage collection, so this always returns a placeholder value.
Parameters
| Parameter | Type |
|---|---|
obj | unknown |
Returns
number
Always returns 1 (reference counting not available in JS)