Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Concatenate lists with if statement #623

Answered by mpvl
PierreAdrienDelisle asked this question in Q&A
Discussion options

You must be logged in to vote

On tip, at least, you can do this:

dep: [
    if lb != null {
        "value"
    },
    if ub != null {
        "secVal"
    },
]

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@PierreAdrienDelisle
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by myitcv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #623 on December 30, 2020 20:34.