Function sway_libs::pausable::_is_paused
pub fn _is_paused() -> bool
Expand description
Returns whether the contract is in the paused state.
Returns
- [bool] - The pause state of the contract.
Number of Storage Accesses
- Reads:
1
Examples
use sway_libs::pausable::_is_paused;
fn foo() {
assert(!_is_paused());
}