effect-io-ai

Package: effect
Module: RuntimeFlagsPatch

RuntimeFlagsPatch.isEnabled

Returns true if the RuntimeFlagsPatch describes the specified RuntimeFlag as enabled.

Signature

declare const isEnabled: { (flag: RuntimeFlags.RuntimeFlag): (self: RuntimeFlagsPatch) => boolean; (self: RuntimeFlagsPatch, flag: RuntimeFlags.RuntimeFlag): boolean; }

Source

Since v2.0.0