Is there a Julia equivalent for this Python syntax

id = (id === nothing) ? string(UUIDs.uuid4())[1:8] : id
3 Likes