Utils.setObjectArg

Converts the string value to the type of the objects argument and sets the argument with it.

Note that this function silently returns if @object has no property named @name or when @value cannot be converted to the type of the property.

struct Utils
static
void
setObjectArg
(,
string name
,
string value
)

Parameters

object ObjectG

the object to set the argument of

name string

the name of the argument to set

value string

the string value to set

Meta