util: Implement opEquals instead of opCmp.