MapConvertor.convertsFrom

Check whether convertor is able to convert from.

  1. bool convertsFrom(TypeInfo from)
  2. bool convertsFrom(Object from)
    class MapConvertor(To : ToElement[ToKey], From : FromElement[FromKey], ToElement, ToKey, FromElement, FromKey)
    const
    bool
    convertsFrom
    (
    in Object from
    )

Parameters

from Object

the type info of component that could potentially be converted by convertor.

Return Value

Type: bool

true if it is able to convert from, or false otherwise.

Meta