Assert type on list operations