Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created March 17, 2024 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/2db9cbe9916d5801b0af005a63ee3f3c to your computer and use it in GitHub Desktop.
Save johnlokerse/2db9cbe9916d5801b0af005a63ee3f3c to your computer and use it in GitHub Desktop.
Create your own function in Azure Bicep with user-defined functions blog
func funcReturnTypeArray() array => [1, 2, 3, 4, 5]
func funcReturnTypeObject() object => {name: 'John Doe', age: 31}
func funcReturnTypeInt() int => 1337
func funcReturnTypeBool(key string) bool => contains({}, key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment