A type switch case with multiple conditions causes the value to remain as interface which causes toBool to always return true for any numeric values.
11 KiB
11 KiB
A type switch case with multiple conditions causes the value to remain as interface which causes toBool to always return true for any numeric values.