Record Class Argument

java.lang.Object
java.lang.Record
ortus.boxlang.runtime.types.Argument
Record Components:
required - Whether the argument is required
type - The type of the argument
name - The name of the argument
defaultValue - The default value of the argument
defaultExpression - The default value of the argument as a Lambda to be evaluated at runtime
annotations - Annotations for the argument
documentation - Documentation for the argument
All Implemented Interfaces:
Validatable

public record Argument(boolean required, String type, Key name, Object defaultValue, Argument.DefaultExpression defaultExpression, IStruct annotations, IStruct documentation, Set<Validator> validators) extends Record implements Validatable
Represents an argument to a function or BIF