Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created June 9, 2024 17:13
Show Gist options
  • Save johnlokerse/12d426de64e432cc4df813732919ebc7 to your computer and use it in GitHub Desktop.
Save johnlokerse/12d426de64e432cc4df813732919ebc7 to your computer and use it in GitHub Desktop.
Azure Bicep nullability operators explained blog
var varGroceries = [
{
productName: 'Bread'
price: 2
}
{
productName: 'Milk'
price: 1
}
]
output outPriceHigherThan1 object = first(filter(varGroceries, product => product.price > 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment