public static bool IsOperator(this ButtonType enumValue) { return(enumValue.IsBinaryOperator() || enumValue.IsUnaryOperator()); }