The call only ensures that the value is of type LNChannel<Any>
According to the docs for assertIs:
Note that due to type erasure the type check may be partial (e.g. assertIs<List<String>>(value) only checks for the class being List and not the type of its elements because it's erased).
There was a related discussion here