Another key concept that helps to move business logics out of application is function. Functions enable you to write code snippets in regular programming language, which let you implement any logic you want. You can write functions where parameter matrix is not enough.
As in the case of parameters, functions can contain logic based on:
Below you can see sample function that uses context data and depends on parameter:
Hyperon functions give you convenient API to:
Following image shows another function defined in Hyperon Studio.
Functions use JavaScript syntax with some Hyperon extensions that make life easier. See Using functions for more details.