Question · Angular course · Module 14: Advanced Patterns

Pipe interface

Which interface must a pipe class implement, and which method does it enforce?

Answer options

  • OnInit with the ngOnInit() method
  • PipeTransform with the transform() method
  • Pipeable with the pipe() method
  • Transformer with the convert() method

You can check the correct answer by solving this task in the CodeWorlds game.