Functions28 public, 2 private
| Returns if the specififed Java class exists. | |||
| public | boolean | classExists | |
| Fully qualified name of the Java class. | |||
| required | string | class | |
| Compares the provided objects with each other. Returns if they are considered to be equal. | |||
| public | boolean | compareObjects | |
| required | any | objA | |
| required | any | objB | |
| Returns if the provided data contains any object/component with the specified method(s). | |||
| public | boolean | containsComponent | |
| any | data | ||
| Component only matches if at least one of the given methods exists. | |||
| string[] | matchAnyMethod | [] | |
| Returns if the provided data contains any object. | |||
| public | boolean | containsObject | |
| any | data | ||
| struct | OPTIONS | {} | |
| option | boolean | array | true |
| maximum recursion depth for structs | |||
| option | boolean, numeric | struct | true |
| Inspects the provided value and attempts to evaluate its content. IMPORTANT NOTICE: This function can only resolve variables in a shared scope such as REQUEST or APPLICATION. | |||
| public | string | evaluateValue | |
| required | any | value | |
| Returns the current call stack. | |||
| public | any | getCallStack | |
| "all", "template" | listInfo | all | |
| Extracts the first comment in the provided string. | |||
| public | struct | getCFcomment | |
| required | string | value | |
| Returns the inheritance of the provided object. | |||
| public | array | getClassHierarchy | |
| The object to inspect. | |||
| required | any | object | |
| Reverses the hierarchic order starting with the base class. | |||
| boolean | reverseOrder | false | |
| public | string | getClassName | |
| required | any | object | |
| Returns the main version of the current ColdFusion server instance. | |||
| public | numeric | getColdFusionVersion | |
| Returns the application specific mapping. | |||
| public | string | getMapping | |
| Path of the mapping. | |||
| required | string | mapping | |
| Path of append to the mapping, taking care of the proper join. | |||
| string | appendPath | ||
| public | string | getServerAddress | |
| public | string | getServerName | |
| Returns the current stack trace. | |||
| public | query | getStackTrace | |
| Returns if the provided object offers the specified method. | |||
| public | any | hasMethod | |
| Object to inspect. Can be either a ColdFusion component or a Java class. | |||
| required | any | object | |
| Name of the method to look for. | |||
| required | string | method | |
| Returns if the current environment is hosted on an Adobe ColdFusion Server. | |||
| public | boolean | isAdobeColdFusion | |
| Returns if the provided array contains the specified component and the specified component only. An empty array returns true. | |||
| public | boolean | isArrayOfComponent | |
| required | any | value | |
| Class or Interface to look for in the provided array. | |||
| required | string | target | |
| Validate all array elements. | |||
| boolean | fullscan | false | |
| Inspects the provided object and returns if the specified class is in its hierarchy. | |||
| public | boolean | isClass | |
| required | any | value | |
| required | string | class | |
| Inspects the provided object and tries to identify the component by name or location. | |||
| public | boolean | isComponent | |
| required | any | object | |
| Class(es) or Interface(s) to look for in the provided object. | |||
| string, string[] | target | ||
| public | boolean | isColdFusionArray | |
| required | any | target | |
| public | boolean | isColdFusionStruct | |
| required | any | target | |
| public | boolean | isAnyEmpty | |
| required | any | value | |
| public | boolean | isEmpty | |
| required | any | value | |
| public | boolean | isJavaArray | |
| required | any | target | |
| A (complex) Java object is a native Java class instance that does not implement any of the interfaces handled by ColdFusion. | |||
| public | boolean | isJavaObject | |
| required | any | target | |
| public | boolean | isJavaStruct | |
| required | any | target | |
| Returns if the current environment is hosted on a Lucee Server. | |||
| public | boolean | isLucee | |
| Returns if the current environment is hosted on a Railo Server. | |||
| public | boolean | isRailo | |