R/utils.R

Defines functions hasHead

### =========================================================================
### Some low-level (non exported) utility functions.
### -------------------------------------------------------------------------


hasHead <- function(x, h) {
  identical(head(x, length(h)), h)
}
vjcitn/GenomicRangesGHA documentation built on Jan. 18, 2021, 12:39 a.m.