Function ====== Math.EqualityConverter ====== Boolean Math.EqualityConverter(string StringToCheckAgainst) ^ API | currently not in the API | ^ description | ASSUMPTION this checks if a parameter equals to a given string and returns true if it does | ^ [[macros:namespace|namespace]] | [[macros:namespace:Math]] | ^ parameter | StringToCheckAgainst ( [[macros:type:string]] ) : string to compare the parameter with | | ::: | Parameter ( [[macros:type:string]] ) : the property to check whether it matches the string. This needs to be set separately, see example | ^ return value | [[macros:type:boolean]] | Hint: there is another Math.EqualityConverter explained at https://github.com/RicoSuter/MyToolkit/blob/master/src/MyToolkit.Extended/Converters/EqualityConverter.cs: > Returns a bool whether the objects string representation equals to the converter parameter. == Example in == [[macros:example:setfancurve]] Here, the property ''Programmer.Editor.Fixtures.Fan.SelectedFanCurveId'' is tested if it matches the string ''Line'', and if yes, the key the macro is saved on is highlighted active. == Also used in == {{backlinks>.}} == Remarks == ~~DISCUSSION~~