.matchesLangTemplate {rxode2}R Documentation

Check if a language object matches a template language object

Description

Usage

.matchesLangTemplate(x, template)

Arguments

x

The object to check

template

The template object it should match

Value

TRUE if it matches, FALSE, otherwise

Examples

.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/dt(.name)"))
.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/foo(.name)"))
.matchesLangTemplate(str2lang("d/dt(foo)"), str2lang("d/."))

[Package rxode2 version 2.1.3 Index]