var slice = require('../array/slice')
var every = require('../array/every')
var some = require('../array/some')

function and (ans) {
  var args = slice(arguments, 1)
  return every(args, function (question) {
    return (ans === question)
  })
}

function or (ans) {
  var args = slice(arguments, 1)
  return some(args, function (question) {
    return (ans === question)
  })
}

exports.and = and
exports.or = or

@@ -374,16 +374,83 @@
   %7D)%0A%7D%0A%0A
+function id (what, who) %7B%0A  return (who && typeof who === what)%0A%7D%0A%0A
 exports.
@@ -475,8 +475,24 @@
 or = or%0A
+exports.id = id%0A

update lang/yoda