property Positional.isVarargOptional

If this is true the argument can be specified zero or once i.e. it does not need to be specified.

NOTE: If isVarargMultiple is true, the argument can specified zero, one or multiple times.

NOTE: There can be only one positional with this set and it must be the last the last item if there are multiple positionals defined.

Type

boolean

Usage

import type Positional from ".";