How to define a condition expression

Like
if there exsis a file named “abc”
then
else
end

It basically is correct what you have so not sure I understand what you are actually asking for. Anyway:

if isfile("abc")
    # do this
else
    # do that
end
2 Likes

Oh, Thank you very much! I mean this

1 Like