Inheriting from Argument() in order to represent an array of a single data type.

Value

Object of R6Class() representing a single valued array.

Methods

$getMinItems

returns the minimum number of items

$getMaxItems

returns the maximum number of items

$setMinItems(value)

sets the minimum number of items

$setMaxItems(value)

sets the maximum number of items

$getItemSchema

returns the item schema of the items in the array

$setItemSchema(value)

sets the schema for the items in the array

Arguments

value

either a number describing the minimum and maximum number of elements in an array or the parsed JSON schema of a single item in the array