powered by
Determine if Diff Object Has Differences
# S4 method for Diff any(x, ..., na.rm = FALSE)
TRUE if there are differences, FALSE if not, FALSE with warning if there are no differences but objects are not all.equal
all.equal
a Diff object
Diff
unused, for compatibility with generic
any(diffChr(letters, letters)) any(diffChr(letters, letters[-c(1, 5, 8)]))
Run the code above in your browser using DataLab