how to use LeanTween to tween camera orthographicSize

I need to tween the orthographic size of my camera but Ienter code here don’t really know how to use LeanTween that well…
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HexZoom : MonoBehaviour {

    public Camera camera;

    private float zoom;

    public void zoomIn(){
        camera.orthographicSize = LeanTween.value(camera.gameObject, camera.orthographicSize, 0.5f, 1.7f);
    }

    public void zoomOut()
    {

    }
}

I struggled with using LeanTween.value initially as well. Here is what I found to make it work:

public void zoomIn(){
  LeanTween.value(camera.gameObject, camera.orthographicSize, 0.5f, 1.7f).setOnUpdate((float flt) =>   {
       camera.orthographicSize = flt;
  });
}

float flt is increased / decreased over time and then your camera size is set to it

You can find more information on their documentation page.