getDryRun
The getDryRun() method returns the current dry-run flag state.
Syntax
const currentDryRunState = await PiwikProSdk.getDryRun();Returns
Whether the dry-run flag is enabled.
trueif the flag is setfalseif the flag isn’t set
Type: boolean
Examples
To read the current dry-run flag state:
const currentDryRunState = await PiwikProSdk.getDryRun();Related methods
Updated about 5 hours ago