Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created January 23, 2019 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uno-de-piera/490018a61e7c05c8cb3ad2b2ca715a2f to your computer and use it in GitHub Desktop.
Save uno-de-piera/490018a61e7c05c8cb3ad2b2ca715a2f to your computer and use it in GitHub Desktop.
export function peliculasFiltradas = state => busqueda => {
return state.movies.filter(movie => movie.title.toLowerCase().includes(busqueda))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment