dwww Home | Show directory contents | Find package
test_that("map_if works with function predicates", { expect_equal( map_if(letters[1:5], function(x) identical(x, "c"), toupper), list("a", "b", "C", "d", "e") ) })
Generated by dwww version 1.15 on Fri May 24 06:53:11 CEST 2024.