You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Store<P>.map(lens: Lens<P, T>): Store<T>`| Most generic map-function. Maps any `Store` given a `Lens`. Use for model destructuring with automatic generated lenses for example. |
406
-
|`Store<P?>.map(lens: Lens<P & Any, T>): Store<T>`| Maps any nullable `Store` given a `Lens` to a `Store` of a definitely none nullable `T`. Use in `render*`-content expressions combined with a null check. |
407
-
|`Store<List<T>>.mapByElement(element: T, idProvider): Store<T>`| Maps a `Store` of a `List<T>` to one element of that list. Works for entities, as a stable Id is needed. |
408
-
|`Store<List<T>>.mapByIndex(index: Int): Store<T>`| Maps a `Store` of a `List<T>` to one element of that list using the index. |
409
-
|`Store<Map<K, V>>.mapByKey(key: K): Store<V>`| Maps a `Store` of a `Map<T>` to one element of that map using the key. |
410
-
|`Store<T?>.mapNull(default: T): Store<T>`| Maps a `Store` of a nullable `T` to a `Store` of a definitely none nullable `T` using a default value in case of `null` in source-store. |
411
-
|`MapRouter.mapByKey(key: String): Store<String>`| Maps a `MapRouter` to a `Store`. See [chapter about routers](/docs/routing/#maprouter) for more information. |
|`Store<P>.map(lens: Lens<P, T>): Store<T>`| Most generic map-function. Maps any `Store` given a `Lens`. Use for model destructuring with automatic generated lenses for example. |
424
+
|`Store<P?>.map(lens: Lens<P & Any, T>): Store<T>`| Maps any nullable `Store` given a `Lens` to a `Store` of a definitely none nullable `T`. Use in `render*`-content expressions combined with a null check. |
425
+
|`Store<List<T>>.mapByElement(element: T, idProvider): Store<T>`| Maps a `Store` of a `List<T>` to one element of that list. Works for entities, as a stable Id is needed. |
426
+
|`Store<List<T>>.mapByIndex(index: Int): Store<T>`| Maps a `Store` of a `List<T>` to one element of that list using the index. |
427
+
|`Store<Map<K, V>>.mapByKey(key: K): Store<V>`| Maps a `Store` of a `Map<T>` to one element of that map using the key. |
428
+
|`Store<T?>.mapNull(default: T): Store<T>`| Maps a `Store` of a nullable `T` to a `Store` of a definitely none nullable `T` using a default value in case of `null` in source-store. |
429
+
|`Store<T>.mapNullable(placeholder: T): Store<T?>`| Maps a `Store` of `T` to a `Store` of `T?`, replacing the given `placeholder` from the parent with `null` in the sub Store. This function is the reverse equivalent of `mapNull`. |
430
+
|`MapRouter.mapByKey(key: String): Store<String>`| Maps a `MapRouter` to a `Store`. See [chapter about routers](/docs/routing/#maprouter) for more information. |
0 commit comments