← Back to SystemInfo domain
SystemInfo.getFeatureState
Returns information about the feature state.
Domain: SystemInfo
experimental
Parameters
| Name | Type | Description |
featureState | string | |
Returns
| Name | Type | Description |
featureEnabled | boolean | |
Example Request
{
"id": 1,
"method": "SystemInfo.getFeatureState",
"params": {
"featureState": "featureState-value"
}
}
Example Response
{
"id": 1,
"result": {
"featureEnabled": true
}
}
Usage in Node.js
const result = await send('SystemInfo.getFeatureState', {"featureState": "featureState-value"});
console.log(result);
// {"featureEnabled": true}