YAXLib.StringUtils.IsSingleLocationGeneric C# (CSharp) Method

IsSingleLocationGeneric() public static method

Determines whether the specified location string is either "." or "..".
public static IsSingleLocationGeneric ( string location ) : bool
location string The location string to check.
return bool
        public static bool IsSingleLocationGeneric(string location)
        {
            return location == "." || location == "..";
        }