

def __typedPlugValueExtractor(plug, topLevelPlug, value, converter=None):
    if (converter is not None):
        return converter(value.value)
    else:
        return value.value

dataset/ETHPy150Open ImageEngine/gaffer/python/Gaffer/PythonExpressionEngine.py __typedPlugValueExtractor/original