* Definintions for binary array tools
| 9 | * Definintions for binary array tools |
| 10 | */ |
| 11 | interface IBinArray { |
| 12 | /** |
| 13 | * Binary insert into array |
| 14 | * @param arr - target array |
| 15 | * @param inserted - element to be inserted |
| 16 | * @param how - comparison function |
| 17 | */ |
| 18 | binsert(arr:Array<any>, inserted:any, how:Function):number; |
| 19 | /** |
| 20 | * Binary loose search |
| 21 | * @param arr - array to look in |
| 22 | * @param what - object to try to find |
| 23 | * @param how - comparison function |
| 24 | */ |
| 25 | bsearch(arr:Array<any>, what:any, how:Function):number; |
| 26 | } |
| 27 | declare var BinArray:IBinArray; |
| 28 | |
| 29 | interface IScriptingEngine { |
no outgoing calls
no test coverage detected