JanetDocsI'm feeling luckyGithub sign in

cond



    macro
    boot.janet on line 174, column 1

    (cond & pairs)
    
    Evaluates conditions sequentially until the first true condition is
    found, and then executes the corresponding body. If there are an odd
    number of forms, the last expression is executed if no forms are
    matched. If there are no matches, return nil.


0 examplesSign in to add an example
Loading...