Check Builtin Exists (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.

Synonyms

See Also


This document was generated from builtins/core/management/functions_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 Wed Jan 15 23:07:50 UTC 2025 against commit b4c4296b4c429617fd41527ea0efef33c52c15ef2b64972.

Current version is 6.4.2063 (develop) which has been verified against tests cases.