1 2 3 4 5 6
import lldb def f(value, d): return "pointer type" if value.GetType().GetTemplateArgumentType( 0).IsPointerType() else "non-pointer type"