Search code examples
kdb

How to get list of available functions and their parameters in KDB/Q?


How would I go about getting a list of available functions and their parameters in a given namespace?


Solution

  • http://code.kx.com/q/ref/syscmds/#f-functions

    \f .
    \f .namspace
    

    For functions you will have to check parameters individually by just giving the name of function

    .n.function
    

    will give you not only the parameters but the whole function definition.