UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

9 lines (8 loc) 193 B
export default function (callback, that) { let index = -1; for (const node of this) { if (callback.call(that, node, ++index, this)) { return node; } } }