Gets if that operation is the LAST one.

import Batch = require("nativescript-batch");

var b = Batch.newBatch(function(ctx) {
    // ctx.isLast = (false)
}).then(function(ctx) {
    // ctx.isLast = (false)
}).then(function(ctx) {
    // ctx.isLast = (false)
}).then(function(ctx) {
    // ctx.isLast = (true)
});

b.start();