Function: assertValidClickCount()
assertValidClickCount(
clickCount):void
Defined in: packages/core/src/interactor/MouseOption.ts:36
Validate a ClickOption.clickCount. Shared by every Interactor.click()
implementation so an unsupported value throws identically everywhere,
rather than each environment interpreting it differently.
Parameters​
clickCount​
number | undefined
Returns​
void
Throws​
If clickCount is set to anything other than 2.