Example #1
0
        /**
         * Gets the type object from its string value.  Used when parsing strings
         *
         * @param v the function name
         * @param ws the workbook settings
         * @return the function
         */
        public static Function getFunction(string v, WorkbookSettings ws)
        {
            FunctionNames fn = ws.getFunctionNames();
            Function      f  = fn.getFunction(v);

            return(f != null ? f : UNKNOWN);
        }