• Checks if the feature is enabled on not. If the feature is not defined, it will return the default state if provided or undefined. If the feature is defined, it will check the mode and return true if the mode is enable or false if the mode is disable.

    Type Parameters

    Parameters

    • Optionalfeature: string

      The feature name to check

    • Optionalcfg: T

      The configuration object to check the feature state against

    • OptionalsdkDefaultState: boolean

      Optional default state to return if the feature is not defined

    Returns boolean | undefined

    True if the feature is enabled, false if the feature is disabled, or undefined if the feature is not defined and no default state is provided.

MMNEPVFCICPMFPCPTTAAATR