dwww Home | Show directory contents | Find package

source("helper/helper.R")

f = backports:::isTRUE
expect_identical(f(TRUE), TRUE)
expect_identical(f(FALSE), FALSE)
expect_identical(f(1), FALSE)
expect_identical(f(iris), FALSE)
expect_identical(f(structure(TRUE, foo = "bar")), TRUE)

Generated by dwww version 1.15 on Wed Jun 26 02:49:32 CEST 2024.