F
getModulePresence
Reports what is known of a lazy handle's module, without loading it or resolving the handle.
A plugin should treat unknown as present: a patch on the handle waits for the module, so it never applies to nothing.
function getModulePresence(handle: MetroExport): MetroModulePresence | undefinedParameters
| Name | Type | Description |
|---|---|---|
| handle | MetroExport | A lazy handle, such as a |
Returns
MetroModulePresence | undefinedThe module's MetroModulePresence, or undefined when handle is not a handle a patch waits on.