Filtering by using case example

/ Published in: Clojure
Save to your folder(s)

Example of filtering by using case

Copy this code and paste it in your HTML
  1. (filter #(case (first %)
  2. ("Kategoria 1" "Kategoria 2") false ; forms in the list aren't evaluated
  3. true)
  4. pquery-response)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.