1 min read

How to check configuration key in code?

Q: How can I check whether the particular configuration key is enabled or not in the code at runtime?

A: Simple, you can use the function isConfigurationkeyEnabled(configurationkeynum(LedgerBasic)) anywhere in the code. It returns a boolean type.