Matlab Basics Functions The following functional example shows how to use the IntelliJ IDEA functions to specify the type of the identifier that the function gets. This is a C++ specific class and should be written as a C++12 or higher program. var = { type: ‘a+’ }, foo = function(x, y) { return 1; }; var foo = function(x, y) { return x * 4; }; var foo = function(x, y) {