Here is two functions which request the same arguments and return the same boolean type value. Such as:
(defn Foo1 [x] (< x 3))
(defn Foo2 [x] (> x -10))
But I am confused when I define the function below:
(def Foo3 (or Foo1 Foo2))
Can you guys tell me how it works. Thank you very much!
(def Foo3 (some-fn Foo1 Foo2))will also give you what you're looking for.