add array contains
This commit is contained in:
parent
4c09cfe929
commit
13e32ed4f2
1 changed files with 3 additions and 0 deletions
|
@ -218,6 +218,9 @@ construct _array-ext {
|
||||||
}
|
}
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
contains { bool | with search this ;
|
||||||
|
search awrap this:find null eq not
|
||||||
|
}
|
||||||
starts-with { bool | with beginning this ;
|
starts-with { bool | with beginning this ;
|
||||||
this:len beginning:len lt if {
|
this:len beginning:len lt if {
|
||||||
0
|
0
|
||||||
|
|
Loading…
Add table
Reference in a new issue