Supplemental fix for issue 10567

Add helper function in druntime, same as opEquals case.
Merge pull request #543 from 9rnsr/fix10567

Supplemental fix for issue 10567