API docs     >     Files     >     File

File->getLock

Description

getLock ( )
Checks if the current instance of this Object is locked

Returns

bool
TRUE if the Object currently has a lock or FALSE if not