db.isTable

Syntax db.isTable (f, path)

Params f is a filespec or path string of a Frontier object database file that has been opened with db.open.

path is a valid UserTalk address string, indicating the location in the database whose type you wish to examine.

Action Tests to see if the object in the location indicated by path is a table.

Returns True if the object is a table, false otherwise.

Examples db.isTable ("System:Frontier:old.root", "examples")

   » true

db.isTable ("System:Frontier:old.root", "examples.age")

   » false

Notes The database file specified in the parameter "f" must be opened using db.open before calling this verb.

path can be a full or partial database address; the paths table of the target database is used to interpret it.

db.isTable (f, path) is equivalent to typeOf (path) == tableType when referring to Frontier's current object database.

See Also db.open

db.getValue

db.newTable

db.countItems

db.getNthItem

typeOf

Discuss