Returns a logical vector testing equality of strings from two string vectors
A logical vector
Note: the function tests for both string and encoding equality
if(getRversion() >= "3.5.0") {
sf_compare(letters, "a")
}
#> [1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
#> [13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
#> [25] FALSE FALSE