Original link: https://wiki.eryajf.net/pages/ebae63/
When we use the pipeline, if a variable is not declared normally, we will encounter the error of variable definition failure. At this time, we can use ternary expression to solve this problem.
This article is reproduced from: https://wiki.eryajf.net/pages/ebae63/
This site is for inclusion only, and the copyright belongs to the original author.