deleteIfExist

Check lock file exist or not, if exist then delete it

Arguments
Name Type Description Required
names string | array names of lock files yes

Output : bool

Static or normal : Static

Examples :

lock::deleteIfExist(['lock_name','lock_name2']);
lock::deleteIfExist('lock_name');