R: get_string_type

get_string_type {stringfish} | R 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

    x <- sf_vector(10)
    get_string_type(x) # returns "stringfish vector"
    x <- character(10)
    get_string_type(x) # returns "normal vector"

[Package stringfish version 0.12.1 Index]