See if the UI function exists in given environment.
See if the UI function exists in given environment.
If other functions have been declared, make sure they exist too.
.udfExists(fun, nargs, envir, doList =TRUE)
Arguments
fun: Function to check
nargs: Number of args to check
envir: Environment to check
doList: A boolean to see if the functions in .udfEnv$fun should be checked too. By default TRUE, but this is called recursively for each function (and set to FALSE)
Returns
logical declaring if the udf function exists in this environment