src/app/shared/pipes/list.pipe.ts
Name | list |
transform | ||||||
transform(value: any)
|
||||||
Defined in src/app/shared/pipes/list.pipe.ts:7
|
||||||
Parameters :
Returns :
any
|
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'list'
})
export class ListPipe implements PipeTransform {
transform(value: any): any {
return value.join(', ');
}
}