Function getAssertedValidColor

  • Asserts that the given color type is valid.

    Parameters

    • input: undefined | ColorTypes

    Returns Color