utils/isfeatureallowedbylicensekey
module
Functions
isFeatureAllowedByLicenseKey( licensePayload, licenseFeatureCode ) → booleanmodule:utils/isfeatureallowedbylicensekey~isFeatureAllowedByLicenseKeyChecks whether a feature (represented by a unique id) is allowed by the provided license key.
Parameters
licensePayload : Record<string, any>Decoded license key.
licenseFeatureCode : stringAn unique feature id to check.
Returns
boolean