table existing

Prev Next

Function Names

table existing

Description

This function checks if a table under this name is existing. The table is also considered existing when empty.

Vectorization: This function supports vectorization in the 1st function parameter. Instead of providing a single value, you can provide a set or even a nested set which contain multiple values. The function will then process every value and its return value contains a corresponding set containing all results.

Call as: function

Restrictions

Indirect parameter passing is disabled
Vectorization is allowed in the 1st function parameter

Parameter count

1

Parameters

No.TypeDescription
1
input
string name of table

Return value

TypeDescription
boolean Result

true if existing, false if not existing.

Examples

               table create( my table );
               echo( table existing ( my table ) );
               echo( table existing ( my other table ) );

Output

true
false
Try it yourself: Open LIB_Function_table_existing.b4p in B4P_Examples.zip. Decompress before use.

See also

table clear