Returns true if the context stack contains a context for a given instance that satisfies a given method name criteria.
Parameter | Type | Description |
---|---|---|
instance | Object | An instance to be matched. If null, any context will be examined. Otherwise the context should belong to this instance. |
method | String | RegExp | Array |
Optional An optional pattern to be matched against a method name. Can be a string, a RegExp object or an array of strings and RegExp objects. If it is omitted, any name will satisfy the criteria. |
See the dojox/lang/aspect/cflow reference documentation for more information.