Learn R Programming

pater (version 1.0.0)

stringifyTokens: From tokenData object to a character vector

Description

The inverse of the parse() function.

Usage

stringifyTokens(tokens)

Value

A character vector of length 1.

Arguments

tokens

An object of class tokenData

Examples

Run this code
tokens <- parse("/path/to/resource/:Id")
path <- stringifyTokens(tokens)
identical(path, "/path/to/resource/:Id") # TRUE

Run the code above in your browser using DataLab