findTemplateVars {webdeveloper}R Documentation

Find the names of any placeholder variables that exist in a HTML document string.

Description

Find the names of any placeholder variables that exist in a HTML document string.

Usage

findTemplateVars(x)

Arguments

x

HTML string to check for placeholder.

Value

A vector of the names of template vars found in the HTML string.

Examples

findTemplateVars(x = html(body(templateVar("body_var"))))

[Package webdeveloper version 1.0.5 Index]