Put in order · Angular course · Module 10: State Management
Selector composition
Arrange the createSelector call with an input selector and a projection function (one line, left to right):
Items to put in order
- )
- (samurai) => samurai.length
- selectAllSamurai,
- createSelector(
You can check the correct answer by solving this task in the CodeWorlds game.