|| ❪֎₃❫ Dataview Functions ○ | choice() ⚬ᵈᵛ֎₃
🟣 𓂃𓂃𓂃
⮞ ➔ 𓂃𓂃𓂃
⮞ ⛛ 𓂃𓂃𓂃

⤷ ・・・ ・・・ ・・・



Entries

၊၊||၊|။

choice() ⚬ᵈᵛ|Documentation|1st|20251125123210-00-⌔

Functions - Dataview#choicebool-left-right

choice(bool, left, right)

A primitive if statement - if the first argument is truthy, returns left; otherwise, returns right.

choice(true, "yes", "no") = "yes"
choice(false, "yes", "no") = "no"
choice(x > 4, y, z) = y if x > 4, else z

Printed 2026-06-28.

(echo:: @ )

Link to original

⤷ ・・・・・・・・・


Fields

admin::|[[|⚐]],[[|⚐]],[[|⚐]],[[|⚐]],[[|⚐]],
withheld::|————
relation::|————
parent_::|————
parent::|| ❪֎₃❫ Dataview Functions ○ | choice() ⚬ᵈᵛ֎₃