Ox.contains = Ox.in
This commit is contained in:
parent
a69970adb6
commit
370997c324
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ Ox.contains <f> Tests if a collection contains a value
|
||||||
> Ox.contains("foobar", "bar")
|
> Ox.contains("foobar", "bar")
|
||||||
true
|
true
|
||||||
@*/
|
@*/
|
||||||
Ox.contains = function(col, val) {
|
Ox.contains = Ox.in = function(col, val) {
|
||||||
/*
|
/*
|
||||||
// fixme: rename to Ox.has or Ox.in?
|
// fixme: rename to Ox.has or Ox.in?
|
||||||
// then it'd become convenient for arrays
|
// then it'd become convenient for arrays
|
||||||
|
|
Loading…
Reference in a new issue