> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/callables/methodprop/methodprop.is_pure.md).

# MethodProp.IS\_PURE

In a smart contract a function can be declared that neither reads nor modifies any state variables. These functions can be marked as PURE functions

An example of such a function is:

```solidity
function add(uint256 a,uint256 b) external pure returns uint256 {
	return a + b;
}
```

An example of a query that would select functions marked as pure functions is:

```python
from glider import *
def query():
  props_included = [MethodProp.IS_PURE]
  functions = Functions()\
      .with_all_properties(props_included)\
      .exec(5)

  return functions
```

## Output

<figure><img src="/files/No70p9T80gg3GhNXukBD" alt=""><figcaption></figcaption></figure>
