---
title: "Conditions - Example 2"
canonical: "https://support.appfire.com/space/PSCONF/15305907/Conditions%20-%20Example%202"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ```
> return isUserInRole(currentUser(), project, "developers");
> ```
> 
> > ℹ️ For routines that return true or false there is no need to wrap them in an IF statement.