JanetDocsPlaygroundI'm feeling luckyGitHub sign in

if-with



    macro
    boot.janet on line 397, column 1

    (if-with [binding ctor dtor] truthy &opt falsey)

    Similar to `with`, but if binding is false or nil, evaluates the 
    falsey path. Otherwise, evaluates the truthy path. In both cases, 
    `ctor` is bound to binding.


0 examplesSign in to add an example
Loading...