Sign up (with export icon)

utils/isfeatureallowedbylicensekey

Api-module iconmodule

Functions

  • Chevron-right icon

    isFeatureAllowedByLicenseKey( licensePayload, licenseFeatureCode ) → boolean

    Checks whether a feature (represented by a unique id) is allowed by the provided license key.

    Parameters

    licensePayload : Record<string, any>

    Decoded license key.

    licenseFeatureCode : string

    An unique feature id to check.

    Returns

    boolean