class_prototype_validators: Prototype: validate an object of class Prototype

Description Usage Arguments Details Value See Also

Description

Test if an object is a proper Prototype object.

Usage

1
2
3

Arguments

x, object

an object of class Prototype.

Details

Function valid_prototype() is a user-friendly wrapper to .valid_prototype() and further checks if x is of class Prototype.

Value

Function valid_prototype() returns a logical TRUE if the object is valid. Else, it returns an error message describing the problems.

Function .valid_prototype() returns NULL if the object is valid. Else, it returns a character vector of strings describing the problems.

See Also

Other Prototype: Prototype-accessors, Prototype-class, is_prototype()


jeanmathieupotvin/cargo documentation built on Oct. 27, 2020, 5:22 p.m.