@saurabh6790. This is mind blowingly simple just one line of code!!
But now I am a bit confused as the documentation link posted by @Solufy shows a lengthy coding style while the link posted by you shows a different coding style.
On going through both the links I can say that if you want to filter list just using one single parameter then the link suggested by @saurabh6790 is the way to go by.
If one needs to use multiple parameters for filtering the list then the official documentation as proposed by @Solufy is the way to go by.