ADK for TypeScript: API Reference
System
Light
Dark
Search…
Preparing search index...
isFeatureEnabled
Function isFeatureEnabled
isFeatureEnabled
(
featureName
:
FeatureName
)
:
boolean
在运行时检查某个功能是否已被启用。
优先级顺序(从高到低):
程序化覆盖(Programmatic overrides)
环境变量(ADK_ENABLE_* / ADK_DISABLE_*)
注册表的默认设置
参数
featureName
:
FeatureName
该功能的名称。
返回值
boolean
如果该功能已启用,则返回 `True`;否则返回 `False`。
ADK for TypeScript: API Reference - v2.5.0
Loading...
在运行时检查某个功能是否已被启用。
优先级顺序(从高到低):