is_valid {lazy.symbolic}R Documentation

Check If the Input Expression is Valid

Description

Check If the Input Expression is Valid

Usage

is_valid(exp, print = 0)

Arguments

exp

An expression as a string

print

= 1 or 2 to print the result

Details

See the names of the resulting list elements.

Value

A list of checks, the first element of which is TRUE if the expression is valid.

Examples

is_valid( "a+b/c" )
is_valid( "a*(b+c)d" )
is_valid("(v+v+(v+(+v+v)+v)+((+v*(+((+(v)*v))))+v))+(v)+v+v*v)")


[Package lazy.symbolic version 0.1.3 Index]