MCPcopy Create free account
hub / github.com/breck7/scroll / next

Function next

external/.datatables.js:5492–5499  ·  view source on GitHub ↗
(a, overflow)

Source from the content-addressed store, hash-verified

5490 var asSorting = col.asSorting
5491 var nextSortIdx
5492 var next = function (a, overflow) {
5493 var idx = a._idx
5494 if (idx === undefined) {
5495 idx = asSorting.indexOf(a[1])
5496 }
5497
5498 return idx + 1 < asSorting.length ? idx + 1 : overflow ? null : 0
5499 }
5500
5501 if (!col.bSortable) {
5502 return false

Callers 1

_fnSortAddFunction · 0.85

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected