We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf1aec commit bbb24b9Copy full SHA for bbb24b9
src/cdk/tree/tree.ts
@@ -60,6 +60,10 @@ function coerceObservable<T>(data: T | Observable<T>): Observable<T> {
60
return data;
61
}
62
63
+function isNotNullish<T>(val: T | null | undefined): val is T {
64
+ return val != null;
65
+}
66
+
67
/**
68
* CDK tree component that connects with a data source to retrieve data of type `T` and renders
69
* dataNodes with hierarchy. Updates the dataNodes when new data is provided by the data source.
0 commit comments