Packageorg.pranaframework.objects
Interfacepublic interface ITypeConverter
ImplementorsSimpleTypeConverter

Converts a string value to a typed object.



Public Methods
 MethodDefined by
  
convertIfNecessary(value:*, requiredType:Class = null):*
Convert the given value to the required type.
ITypeConverter
Method detail
convertIfNecessary()method
public function convertIfNecessary(value:*, requiredType:Class = null):*

Convert the given value to the required type.

Parameters
value:* — the value to convert
 
requiredType:Class (default = null) — the type to convert to

Returns
*