How to use FilterRangeTypeInput in GraphQl Magento 2?

Magento with GraphQl, Filter Range Type Input used to filter the query by the range type like from and to.

This type used to filter the response based on the selection of range value of from and to.

I hope you are aware of the Use FilterEqualTypeInput and FilterMatchTypeInput in GraphQl Magento.

Keep in mind, It Used with Price and Date type Attribute only.

Example to use of Range Type Input,
We will filter out the Product response by the price type, A result will be fallen under the price of product between 20 to 30 range from the Catalog,

The Result will be all the products that have prices between 20 to 30.