File: any-Diff-method.Rd

package info (click to toggle)
r-cran-diffobj 0.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,432 kB
  • sloc: ansic: 455; javascript: 96; sh: 32; makefile: 8
file content (26 lines) | stat: -rwxr-xr-x 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s4.R
\name{any,Diff-method}
\alias{any,Diff-method}
\title{Determine if Diff Object Has Differences}
\usage{
\S4method{any}{Diff}(x, ..., na.rm = FALSE)
}
\arguments{
\item{x}{a \code{Diff} object}

\item{...}{unused, for compatibility with generic}

\item{na.rm}{unused, for compatibility with generic}
}
\value{
TRUE if there are differences, FALSE if not, FALSE with warning if
  there are no differences but objects are not \code{\link{all.equal}}
}
\description{
Determine if Diff Object Has Differences
}
\examples{
any(diffChr(letters, letters))
any(diffChr(letters, letters[-c(1, 5, 8)]))
}