Skip to contents

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".