Python.Runtime.PythonException.Matches C# (CSharp) Method

Matches() public static method

Matches Method
Returns true if the Python exception type represented by the PythonException instance matches the given exception type.
public static Matches ( IntPtr ob ) : bool
ob System.IntPtr
return bool
	public static bool Matches(IntPtr ob) {
	    return Runtime.PyErr_ExceptionMatches(ob) != 0;
	}