Skip to main content

bexists

Laurence MorganLess than 1 minute

bexists

Check which builtins exist

Description

bexists takes an array of parameters and returns which commands have been compiled into Murex. The 'b' in bexists stands for 'builtins'

Usage

bexists command... -> <stdout>

Examples

» bexists: qr gzip runtime config
{
    "Installed": [
        "runtime",
        "config"
    ],
    "Missing": [
        "qr",
        "gzip"
    ]
}

Detail

This builtin dates back to the start of Murex when all of the builtins were considered optional. This was intended to be a way for scripts to determine which builtins were compiled. Since then runtime has absorbed and centralized a number of similar commands which have since been deprecated. The same fate might also happen to bexists however it is in use by a few modules and for that reason alone it has been spared from the axe.

See Also

  • Modules and Packages: An introduction to Murex modules and packages
  • fexec: Execute a command or function, bypassing the usual order of precedence.
  • runtime: Returns runtime information on the internal state of Murex

This document was generated from builtins/core/management/functions_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan,Laurence Morgan