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 Mon Jun 24 03:04:33 CEST 2024.