Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/app / Class

NgDocFilterByTextPipe

Decorators:@Pipe
Generic types:T
Implements:PipeTransform

No documentation has been provided.

Methods

transform()

implements PipeTransform

No documentation has been provided.

Presentation
transform(items: readonly T[], searchTerm: string, matcher: (item: T, searchTerm: string) => boolean = (item: T, s: string) => String(item) === s): readonly T[];
Parameters
NameTypeDescription
items
readonly T[]
searchTerm
string
matcher
(item: T, searchTerm: string) => boolean
Returns
readonly T[]