()
| 499 | */ |
| 500 | @Input() |
| 501 | get trackBy(): TrackByFunction<T> { |
| 502 | return this._trackByFn; |
| 503 | } |
| 504 | set trackBy(fn: TrackByFunction<T>) { |
| 505 | if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') { |
| 506 | console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}.`); |
no test coverage detected