mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Fix val_size BIF tests and improve docs
Improve documentation of "order" BIF, and made the "val_size" tests more portable.
This commit is contained in:
parent
83dcbd4aa7
commit
18e61fcdfc
4 changed files with 13 additions and 10 deletions
|
@ -1494,6 +1494,8 @@ function sort%(v: any, ...%) : any
|
|||
## v: The vector whose order to compute.
|
||||
##
|
||||
## Returns: A ``vector of count`` with the indices of the ordered elements.
|
||||
## For example, the elements of *v* in order are (assuming ``o``
|
||||
## is the vector returned by ``order``): v[o[0]], v[o[1]], etc.
|
||||
##
|
||||
## .. bro:see:: sort
|
||||
function order%(v: any, ...%) : index_vec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue