Understanding the dsrepoIsViewLockedP SKILL API Function

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

See Also
dsrepoIsViewLockedP SKILL API Function Options
dsrepoIsViewLockedP(
     t_libName
     t_cellName
     t_viewName
     [?elsewhere nil]
)
=> nil / <locker>

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

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