src/main/java/ognl/Ognl.java
public static TypeConverter getTypeConverter(Map context)
    {
        if (context instanceof OgnlContext) {
            return ((OgnlContext) context).getTypeConverter();
        }
        return null;
    }
public static TypeConverter getTypeConverter(Map context)
    {
        if (context instanceof OgnlContext) {
            return ((OgnlContext) context).getTypeConverter();
        }
        return null;
    }
Gets the currently configured {@link TypeConverter} for the given context - if any.

@param context
The context to get the converter from.

@return The converter - or null if none found.