Understanding the dsrepoIsLockedFileP SKILL API Function

This SKILL API function allows you to determine if a file is locked locally or elsewhere.

See Also
dsrepoIsFileLockedP SKILL API Function Options
dsrepoIsFileLockedP(
     t_fileName
     [?elsewhere nil]
)
=> nil / <locker>

By default, the command only checks to see if the file is locked in the local workspace. To see if the file is locked in a different workspace, specify ?elsewhere option.

If the file is locked, then the command returns the username of the locker. If the file is not locked, then the API call returns nil.