text: /*
  *  Warewolf - Once bitten, there's no going back
  *  Copyright 2019 by Warewolf Ltd <alpha@warewolf.io>
  *  Licensed under GNU Affero General Public License 3.0 or later. 
  *  Some rights reserved.
  *  Visit our website for more information <http://warewolf.io/>
  *  AUTHORS <http://warewolf.io/authors.php> , CONTRIBUTORS <http://warewolf.io/contributors.php>
  *  @license GNU Affero General Public License <http://www.gnu.org/licenses/agpl-3.0.html>
  */
  
  using System;
  using Warewolf.Options;
  
  namespace Warewolf.Data.Decisions.Operations
  {
      /// <summary>
      /// Is Not Hex Decision
      /// </summary>
      public class IsNotHex : IDecisionOperation
      {
          public bool Invoke(string[] cols)
          {
              if (!string.IsNullOrEmpty(cols[0]))
              {
                  return !cols[0].IsHex();
              }
  
              return false;
          }
  
          public Enum HandlesType() => enDecisionType.IsNotHex;
      }
  }
  