You do not replace let with _ , but you replace it with a name. If the variable is not used anywhere in the code, it does not matter, so the line can be written like this:
_ = someVal["value"]
If you want to use it somewhere, you need a name for its link later. But when you do not use it, writing _ much easier ...
source share