equalsStrict

From RPTools Wiki
Revision as of 21:10, 22 May 2020 by Phergus (talk | contribs) (Created page with "{{MacroFunction |name=equalsStrict |proposed=false |trusted=false |description= This function checks for equality between all of the passed in values. Unlike {{func|equals}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

equalsStrict() Function

This function checks for equality between all of the passed in values. Unlike equals() this function can only be used for string values and is case-sensitive.

Usage

equalsStrict(s1, s2, ...)

Parameters

  • s1+ - String

Example

[h: species = "duck"]
[r: equalsStrict(species, "Duck")]
[r: equalsStrict(species, "duck")]
[r: equalsStrict(species, "Chicken")]

Returns:

0
1
0

See Also