Skip to content

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 ​

NameDescription
functionWhen this method returns, contains the registered delegate if found; otherwise null.
nameThe function name as it appears in the expression.

Returns ​

true if a function was found; otherwise, false.