isPipe function

bool isPipe(
  1. ElementAnnotation annotation
)

Checks if an ElementAnnotation node implements Pipe.

Implementation

bool isPipe(ElementAnnotation annotation) => matchAnnotation($Pipe, annotation);