TableUtils - isBaseClass()

Determines if a table has no parents and has extensions.

Task is a base class since it is not extended from another table and has tables extended from it, but sys_user is not a base class - it has no parents, but does not have extensions.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
void

var table = new TableUtils("task");
gs.print("Task is base class: " + table.isBaseClass());
 
var table = new TableUtils("sys_user");
gs.print("User is base class: " + table.isBaseClass());
Output:
 Task is base class: true
User is base class: false