Difference between revisions of "Exists(res)"

From SpybotWiki
Jump to: navigation, search
(New page: {{AdvFileParam|exists[res]}} Checks if a resource with that name and of that type exists. ==Usage== exists[res]=<type(string)>|<name(string)> exists[res]!=<type(string)>|<name(string)> ...)
 
Line 1: Line 1:
{{AdvFileParam|exists[res]}}
+
{{DISPLAYTITLE:exists(res)}}{{AdvFileParam|exists[res]}}
 
Checks if a resource with that name and of that type exists.
 
Checks if a resource with that name and of that type exists.
  

Revision as of 15:14, 19 February 2008


Checks if a resource with that name and of that type exists.

Usage

exists[res]=<type(string)>|<name(string)>
exists[res]!=<type(string)>|<name(string)>

Examples

Description

Tests whether a resource of the specified type and name exists. This one is also available in a negated form to test whether a resource does not exist.

See also

Similar parameters

Similar commands