method)Define a methods supported data-types
method defines what the typical data type would be for a
function’s stdin and stdout.
method: define name { json }
method: define name {
"Stdin": "@Any",
"Stdout": "json"
}
You can define a Murex data type or use a type group. The following type groups are available to use:
package types
// These are the different supported type groups
const (
Any = "@Any"
Text = "@Text"
Math = "@Math"
Unmarshal = "@Unmarshal"
Marshal = "@Marshal"
ReadArray = "@ReadArray"
ReadArrayWithType = "@ReadArrayWithType"
WriteArray = "@WriteArray"
ReadIndex = "@ReadIndex"
ReadNotIndex = "@ReadNotIndex"
ReadMap = "@ReadMap"
)
// GroupText is an array of the data types that make up the `text` type
var GroupText = []string{
Generic,
String,
`generic`,
`string`,
}
// GroupMath is an array of the data types that make up the `math` type
var GroupMath = []string{
Number,
Integer,
Float,
Boolean,
}methodalias: Create an alias for a commandprivate: Define a private function blockfunction: Define a function blockruntime: Returns runtime information on the internal
state of Murexautocomplete: Set definitions for tab-completion in the
command line-> Arrow Pipe:
Pipes stdout from the left hand command to stdin of the right hand
commandThis document was generated from builtins/core/structs/function_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.
Last built on Mon Oct 12 23:53:07 UTC 2026 against commit 6332fa16332fa1e89d3a5df5c6104d7f19d017367bb74f9.
Current version is 7.3.1232 (unknown) which has been verified against tests cases.