Returns the argument as an Object
without type checking.
Returns the argument as an Object
without type checking.
if a LogoException occurred while evaluating this argument
Returns the argument as an Agent
.
Returns the argument as an Agent
.
if the argument is not an Agent
if a LogoException occurred while evaluating this argument
Returns the argument as an org.nlogo.api.AgentSet
.
Returns the argument as an org.nlogo.api.AgentSet
.
if the argument is not an AgentSet
if a LogoException occurred while evaluating this argument
Returns the argument as a boxed java.lang.Boolean
Returns the argument as a boxed java.lang.Boolean
if the argument is not a Boolean
if a LogoException occurred while evaluating this argument
Returns the value of the argument as an unboxed boolean
.
Returns the value of the argument as an unboxed boolean
.
if the argument is not a boolean
if a LogoException occurred while evaluating this argument
Returns the argument as a org.nlogo.api.CommandTask
.
Returns the argument as a org.nlogo.api.CommandTask
.
if the argument is not a CommandTask
if a LogoException occurred while evaluating this argument
Returns the value of the argument as an unboxed double
.
Returns the value of the argument as an unboxed double
.
if the argument is not a number.
LogoExceptionif a LogoException occurred while evaluating this argument
Returns the value of the argument as an unboxed int
.
Returns the value of the argument as an unboxed int
.
Any fractional part is discarded.
if the argument is not a number.
LogoExceptionif a LogoException occurred while evaluating this argument
Returns the argument as a org.nlogo.api.Link
.
Returns the argument as a org.nlogo.api.Link
.
if the argument is not a Link
if a LogoException occurred while evaluating this argument
Returns the argument as a org.nlogo.api.LogoList
Returns the argument as a org.nlogo.api.LogoList
if the argument is not a LogoList
if a LogoException occurred while evaluating this argument
Returns the argument as an org.nlogo.api.Patch
Returns the argument as an org.nlogo.api.Patch
if the argument is not a Patch
if a LogoException occurred while evaluating this argument
Returns the argument as a org.nlogo.api.ReporterTask
.
Returns the argument as a org.nlogo.api.ReporterTask
.
if the argument is not a ReporterTask
if a LogoException occurred while evaluating this argument
Returns the argument as a String
Returns the argument as a String
if the argument cannot be cast to a String
if a LogoException occurred while evaluating this argument
Returns the argument as a org.nlogo.api.Turtle
.
Returns the argument as a org.nlogo.api.Turtle
.
if the argument is not a Turtle
if a LogoException occurred while evaluating this argument
Interface provides access to arguments passed to the
perform
orreport
methods of a primitive at run-time.Arguments
are created by NetLogo and passed to theperform
orreport
methods of your primitive.Reporter#report(Argument[], Context)
,Command#perform(Argument[], Context)