get-type
)Returns the data-type of a variable or pipe
get-type
returns the Murex data-type of a variable or pipe without reading the data from it.
get-type \$variable -> <stdout>
get-type stdin -> <stdout>
get-type pipe -> <stdout>
» set json example={[1,2,3]}
» get-type \$example
json
Please note that you will need to escape the dollar sign. If you don’t the value of the variable will be passed to
get-type
rather than the name.
» function example { get-type stdin }
» tout json {[1,2,3]} -> example
json
» pipe example
» tout <example> json {[1,2,3]}
» get-type example
» !pipe example
json
pipe
): Manage Murex named pipesdebug
): Debugging informationset
): Define a variable (typically local) and set it’s valuetout
): Print a string to the stdout and set it’s data-typefunction
): Define a function blockruntime
): Returns runtime information on the internal state of MurexThis document was generated from builtins/core/typemgmt/gettype_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 Tue Dec 10 22:56:57 UTC 2024 against commit 60f05a260f05a227caf73dd5b3478e3cb3f4bb24e46745b.
Current version is 6.4.1005 (develop) which has been verified against tests cases.