Skip to content
This repository was archived by the owner on Sep 28, 2026. It is now read-only.

Latest commit

聽

History

History
20 lines (13 loc) 路 420 Bytes

File metadata and controls

20 lines (13 loc) 路 420 Bytes

std.builtin

Built-in utility functions for assertions and debugging.

Functions

assert(condition: Bool, message: String) -> Void

Evaluates condition. If false, prints the assertion failure message.

debug(message: String) -> Void

Prints a debug-prefixed message to standard output.

Examples

load std.builtin

builtin.assert(true, "This will pass")
builtin.debug("Debugging info")