Skip to documentation
SLOP

tiny.mprompt.promptTop

Reference tiny.mprompt promptTop

Defined in tiny.mprompt.

Returns the calling thread's innermost active prompt, or null when no prompt is active, so a caller finds the innermost prompt its code runs under without being handed it.

No direct callersNo direct callstiny.mpromptpromptTop
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/mprompt/src/prompt.zig:531

zig
/// Returns the calling thread's innermost active prompt, or null when no prompt is active, so a/// caller finds the innermost prompt its code runs under without being handed it.pub fn promptTop() ?*Prompt {    return prompt_top;}

Source: lib/mprompt/src/root.zig:83

zig
pub const promptTop = raw.promptTop;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433