It’s a custom brush + Curve tool, you can use custom brushes with almost all tools to create some interesting effects. Here’s a demo showing this. ✌️
And that’s exactly what I did!