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