Gets if the operation is NOT the first AND NOT the last one.
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
// ctx.isBetween = (false)
}).then(function(ctx) {
// ctx.isBetween = (true)
}).then(function(ctx) {
// ctx.isBetween = (true)
}).then(function(ctx) {
// ctx.isBetween = (false)
});
b.start();