x
R/case-weights.R
is_case_weights.Rd
is_case_weights() checks if x inherits from "hardhat_case_weights".
is_case_weights()
"hardhat_case_weights"
is_case_weights(x)
An object.
A single TRUE or FALSE.
TRUE
FALSE
is_case_weights(1) #> [1] FALSE is_case_weights(frequency_weights(1)) #> [1] TRUE