Package: effect
Module: ManagedRuntime
Checks whether the provided argument is a ManagedRuntime.
When to use
Use to narrow an unknown value before treating it as a ManagedRuntime.
Details
The guard checks the internal ManagedRuntime marker property. It does not
build the layer or inspect the runtime’s services.
Gotchas
Disposed runtimes still carry the marker, so this guard does not prove the runtime is still usable.
See
make for creating managed runtimes this guard recognizesSignature
declare const isManagedRuntime: (input: unknown) => input is ManagedRuntime<unknown, unknown>
Since v3.9.0