Table of Contents

HasColorCodes

bool HasColorCodes(str s)

Description

Returns true if the string contains color codes anywhere.

Examples

HasColorCodes("\cghello") -> true
HasColorCodes("hello") -> false
HasColorCodes("hello\cg") -> true