.cstr_match_constructor {constructive}R Documentation

Validate a constructor

Description

Fails if the chosen constructor doesn't exist.

Usage

.cstr_match_constructor(constructor, class)

Arguments

constructor

a String (or character vector but only the first item will be considered)

class

A string

Value

A string, the first value of constructor if it is the name of a n existing constructor or "next".


[Package constructive version 0.3.0 Index]