Skip to main content

CommonColorsEqual

Callable

  • CommonColorsEqual(C1: string | readonly string[], C2: string | readonly string[]): boolean

  • Checks whether two item colors are equal. An item color may either be a string or an array of strings.


    Parameters

    • C1: string | readonly string[]

      The first color to check

    • C2: string | readonly string[]

      The second color to check

    Returns boolean

    • TRUE if C1 and C2 represent the same item color, FALSE otherwise