small question: any suggestions on a fancy way to ...
# announcements
g
small question: any suggestions on a fancy way to refactor this?
Copy code
assert(currentRowName!!.equals("weight", ignoreCase = true)
    || currentRowName!!.equals("weights", ignoreCase = true))
avoiding regexes is always preferable