Pipeline.Condition.Functions (pipeline v0.0.1)

View Source

Function library for advanced condition expressions.

Provides built-in functions for:

  • String operations: contains(), matches(), length(), startsWith(), endsWith()
  • Array operations: any(), all(), count(), sum(), average(), min(), max()
  • Date/time operations: now(), days(), hours(), minutes()
  • Mathematical operations: abs(), round(), floor(), ceil()
  • Pattern matching: regex matching and validation

Summary

Functions

Evaluates a function call with given arguments.

Functions

call_function(function_name, args, context)

@spec call_function(String.t(), list(), map()) :: any()

Evaluates a function call with given arguments.

Returns the result of the function or raises an error if function not found.