Ox.contains = Ox.in

This commit is contained in:
rolux 2012-04-08 14:18:43 +02:00
parent a69970adb6
commit 370997c324

View file

@ -26,7 +26,7 @@ Ox.contains <f> Tests if a collection contains a value
> Ox.contains("foobar", "bar")
true
@*/
Ox.contains = function(col, val) {
Ox.contains = Ox.in = function(col, val) {
/*
// fixme: rename to Ox.has or Ox.in?
// then it'd become convenient for arrays