is_unit_area.Rd
Tests if input is a valid unit of area.
is_unit_area(input, error = FALSE)
Character vector of area units. Obtain valid
input options with validUnitsOfArea()
.
Logical. If TRUE
and the input is invalid the
function throws an error.
Logical value and/or error if argument error
is TRUE
.