file.hasBundle

Syntax file.hasBundle (path)

Params path is a path name to the file which you wish to determine as having its "bundle bit" set or not.

Action Determines whether the file named in path has its "bundle bit" set.

Returns True if the file's "bundle bit" is set, false otherwise.

Examples file.hasBundle ("System:Frontier 1.0:UserLand Frontier")

   » true

file.hasBundle ("System:")

   » false

Folders don't have a "bundle bit".

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes The "bundle bit" indicates whether or not a file contains a bundle. Bundles allow the Finder to associate icons with applications and documents, and to associate documents with the applications that created them.

Typically, only applications have bundles, but this is not strictly the case. Folders cannot have bundles.

See Also file.setBundle

Discuss