get_string_type: get_string_type

View source: R/RcppExports.R

get_string_typeR Documentation

get_string_type

Description

Returns the type of the character vector

Usage

get_string_type(x)

Arguments

x

the vector

Details

A function that returns the type of character vector. Possible values are "normal vector", "stringfish vector", "stringfish vector (materialized)" or "other alt-rep vector"

Value

The type of vector

Examples

if(getRversion() >= "3.5.0") {
x <- sf_vector(10)
get_string_type(x) # returns "stringfish vector"
x <- character(10)
get_string_type(x) # returns "normal vector"
}

stringfish documentation built on May 31, 2023, 5:19 p.m.