leaftype