← Back to SystemInfo domain

SystemInfo.getFeatureState

Returns information about the feature state.

Domain: SystemInfo experimental

Parameters

NameTypeDescription
featureStatestring

Returns

NameTypeDescription
featureEnabledboolean

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}