Skip to contents

Test if an object is an sm_question

Usage

is_sm_question(x)

Arguments

x

An object to test.

Value

Logical.

Examples

q <- sm_question("Does exercise reduce falls in older adults?")
#> ! PICO framework: `intervention` not specified.
#> ℹ Query strings may be less precise without it.
is_sm_question(q)
#> [1] TRUE
is_sm_question("Does exercise reduce falls in older adults?")
#> [1] FALSE