Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:hasfunction [2023/04/04 07:17] – removed - external edit (Unknown date) 127.0.0.1pr_methods:hasfunction [2025/06/12 04:00] (current) – Change to AwareIM aware_support3
Line 1: Line 1:
 +{{tag>Programmers_Reference Methods IFunctionLibrary_Interface hasFunction Index}}
 +====hasFunction (String, int)====
 +<code java>public boolean hasFunction (String functionName, int paramNmb)</code>
  
 +This method must return true if the library contains the function with the specified name and number of parameters. //**AwareIM**// will call this method to find the library responsible for the calculation of a particular function referenced in a rule.
 +
 +===Parameters===
 +|''functionName''|the name of the function|
 +|''paramNmb''|the number of function parameters|
 +
 +===Returns===
 +True if the function with the specified name and number of parameters is supported by the library, false otherwise.