Appearance
TryGetFunction Method
Definition
- Namespace:
JASE.Expressions - Assembly:
JASE.Expressions.dll
bool TryGetFunction(string name, out Func<object[], object> function)
csharp
bool TryGetFunction(string name, out Func<object[], object> function)Attempts to resolve a previously registered global function by name.
Parameters
| Name | Description |
|---|---|
function | When this method returns, contains the registered delegate if found; otherwise null. |
name | The function name as it appears in the expression. |
Returns
true if a function was found; otherwise, false.