Azmyth.Ansi.AnsiColor.HasColorData C# (CSharp) Method

HasColorData() public static method

public static HasColorData ( this @string ) : bool
@string this
return bool
        public static bool HasColorData(this string @string)
        {
            bool result = false;

            foreach (ColorData c in AnsiColors)
            {
                if (@string.Contains(c.EscapeSequence))
                {
                    result = true;
                }
            }

            return result;
        }