Function isValidPointerActionList

Returns true if the given string or array is a valid list of pointer actions.

  • Parameters

    • actions: string | string[]

    Returns actions is
        | "click"
        | "hover"
        | "press"
        | PointerAction[]
        | "hover,press"
        | "press,hover"
        | "click,hover"
        | "click,press"
        | "click,hover,press"
        | "click,press,hover"
        | "press,click"
        | "hover,click"
        | "hover,click,press"
        | "hover,press,click"
        | "press,click,hover"
        | "press,hover,click"