tests/testthat/test-isspace.R

test_that("strs_isspace works", {
  expect_true(strs_isspace(" "))
  expect_false(strs_isspace("fff"))
})

Try the strs package in your browser

Any scripts or data that you put into this service are public.

strs documentation built on Sept. 11, 2024, 6:44 p.m.