# Number Of Data Table Values

Grammar — Number of values in the scope|Global/Local data table
FlagsNative | Function

Returns the number of values in a data table.

# Arguments

Returns — int

native int DataTableValueCount(bool global);

Category: Data Table / Utility

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:448


    // Implementation
    lv_entriesInDataTable = DataTableValueCount(true);
    if ((lv_entriesInDataTable == 0)) {
        return ;