Examples
is_importance_weights(1)
#> [1] FALSE
is_importance_weights(frequency_weights(1))
#> [1] FALSE
is_importance_weights(importance_weights(1))
#> [1] TRUE
is_importance_weights(1)
#> [1] FALSE
is_importance_weights(frequency_weights(1))
#> [1] FALSE
is_importance_weights(importance_weights(1))
#> [1] TRUE