Function isValidVariable

  • Checks if the given variable is one that is supported. This can be used to weed out irrelevant parameters in an object.

    Parameters

    • variable: string

    Returns boolean