R/type-coerce.R
type.logical.Rd
Coerce to a logical
type.logical(x)
any vector
the input as a logical, error if this would involve data loss.