CustomOptionComparisonPolicy
Describes how customOptionsByRawValue component is compared during logical operations in CustomValueOptionSet.
-
Custom options are equal if
customOptionskey-value pairs are strictly equalExample: [1: “value1”] == [1: “value1”] [1: “value1”] != [1: “value2”] [1: “value1”] != [:] [:] == [:]
-
Custom options are equal if
customOptionsby the given key is equal ornilExample: [1: “value1”] == [1: “value1”] [1: “value1”] != [1: “value2”] [1: “value1”] == [:] [:] == [:]
-
Custom options are not compared. Only
rawValueis taken into account when comparingCustomStringOptionSets.Example: [1: “value1”] == [1: “value1”] [1: “value1”] == [1: “value2”] [1: “value1”] == [:] [:] == [:]
Install in Dash
CustomOptionComparisonPolicy Enumeration Reference