Methods
Enabling or disabling your Swapy instance.
Your Swapy instance is initially enabled, unless you change that, and you can disable it anytime using swapy.enable(false). To re-enable it, pass true—swapy.enable(true).
swapy.enable(false)
swapy.enable(true)