/// <summary>
        /// Determines if the input directory separator is not the <see cref="DirectorySeparator.InvalidValue"/>, then if it is one of the Windows of non-Windows directory separators.
        /// </summary>
        public static bool IsValid(string directorySeparator)
        {
            var isInvalid = DirectorySeparator.IsInvalid(directorySeparator);

            if (isInvalid)
            {
                return(false);
            }

            var output = DirectorySeparator.IsDirectorySeparator(directorySeparator);

            return(output);
        }
        /// <summary>
        /// Determines if the input character equals the specified directory separator, and if the specified directory separator is a directory separator.
        /// </summary>
        public static bool IsDirectorySeparator(char character, string directorySeparator)
        {
            var isDirectorySeparator = DirectorySeparator.IsDirectorySeparator(directorySeparator);

            if (!isDirectorySeparator)
            {
                return(false);
            }

            var output = character == directorySeparator.Single();

            return(output);
        }
        public static bool HasInvalidValue(DirectorySeparator directorySeparator)
        {
            var output = DirectorySeparator.IsInvalid(directorySeparator.Value);

            return(output);
        }
        public static bool IsInvalid(DirectorySeparator directorySeparator)
        {
            var output = directorySeparator == DirectorySeparator.Invalid;

            return(output);
        }