uCalc API Version: 2.1.3-preview.2 Released: 6/16/2026

Warning

uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.

Pattern Methods

Product: 

Class: 

Remarks

A pattern method performs an action or returns a computed value. Patterns are enclosed by curly braces, and inside the opening brace it starts with the @ symbol, followed by the method keyword, and optionally a colon and a body.

Some methods may appear in both the pattern and the replacement sections, while others may appear in only one or the other.

Examples