MapConvertor.convertsFrom

Check whether convertor is able to convert from.

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

Parameters

from TypeInfo

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