murex Shell Docs

Command Reference: 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>


Get the data-type of a variable

» set: json example={[1,2,3]}
» get-type: \$example

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.

Get the data-type of a functions STDIN

» function: example { get-type stdin }
» tout: json {[1,2,3]} -> example

Get the data-type of a murex named pipe

» pipe: example
» tout: <example> json {[1,2,3]}
» get-type: example
» !pipe: example

See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon Sep 21 06:11:30 UTC 2020 against commit 2557f7c2557f7cc7535c452c21d89164bd38ed8996f02fd. Downloadable murex binaries are also built weekly. Current version is 0.52.2000 BETA which has been verified against tests.