table.fieldExists
Check if a table field exists.
js
let exists = table.fieldExists(tableName, fieldName);
let exists = table.fieldExists(tableName, fieldName);
Parameters
tableName
- Name of the table.fieldName
- Name of the field.
Example
js
let exists = table.fieldExists("users", "password");
let exists = table.fieldExists("users", "password");