Type Guard is a lightweight PHP library that allows you to narrow down the type of an variable to a more specific type.