MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / deregisterObject

Function deregisterObject

src/scripting/api/Runtime/Runtime.ts:201–204  ·  view source on GitHub ↗
(object:RegisterableObject)

Source from the content-addressed store, hash-verified

199 * @param {RegisterableObject} object - object to remove
200 */
201 export function deregisterObject(object:RegisterableObject):void {
202 var objectId:string = object.getId();
203 deregisterObjectById(objectId);
204 }
205
206 function deregisterObjectById(objectId:string) {
207 if (Runtime.hasObject(objectId)) {

Callers

nothing calls this directly

Calls 2

deregisterObjectByIdFunction · 0.85
getIdMethod · 0.65

Tested by

no test coverage detected