There is a BufCmp in the Global class, but I am pretty sure it will only work when the Buffers(Table) you call the with are the same.
So you would properly have to write your own method to do this.
Global::Buf2Buf shows how to loop through the fields in a Table, so you could properly do something like that.