Class baja.Cursor
A generic cursor used for iteration.
Defined in: sys.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
|
each(func)
Iterate through the Cursor and call 'each' on every item.
|
|
|
get()
Return the current item.
|
Method Detail
each(func)
Iterate through the Cursor and call 'each' on every item.
- Parameters:
- {Function} func
- function called on every iteration with the 'value' being used as an argument.
get()
Return the current item.
- Returns:
- the cursor value (null if none available).