Cursor

baja. Cursor

new Cursor()

Description:
  • A generic cursor used for iteration.

Source:

Methods

(abstract) each(func)

Description:
  • Iterate through the Cursor and call a function on every item.

Source:
Parameters:
Name Type Description
func function

function called on every iteration with the
'value' being used as an argument.

(abstract) get()

Description:
  • Return the current item.

Source:
Returns:

the cursor value (null if none available).