there is no

Typeoperator
DictionaryLCS
LibraryLiveCode Script
Syntax
there is no {<object> | file <filePath> | folder <folderPath> | process <procName>}
Synonymsthere is not a,there is not an
Summary

Evaluates to false if the specified object, file, or folder, or process exists, true otherwise.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
object

Any object reference.

filePath

The filePath specifies the name and location of a file you want to check. If you specify a name but not a location, LiveCode looks for the file in the defaultFolder.

folderPath

The folderPath specifies the name and location of a folder you want to check. If you specify a name but not a location, LiveCode looks for the folder in the defaultFolder.

procName

The name of any process that LiveCode started.

Example
there is no group "Cranky"
if there is no player 1 then create player
put (there is not a folder "Temp") into safeToCreate
RelatedKeyword: file
Operator: there is a
Function: openProcesses, exists
Glossary: folder, operator, evaluate, precedence, process, object
Control Structure: function
Securitydisk, process
Description

Use the there is no operator to make sure an object or file does not yet exist before creating it, or that a program is not already running before launching it.

The there is no operator is the logical inverse of the there is a operator. When one is true, the other is false.

Note: The there is no operator is implemented internally as a function, and therefore has lower precedence than other operators.

Tagsfile system