uCalc API Version: 5.7.0-preview.1 Released: 7/30/2026

Warning

uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.

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