Whether str can be represented by ".".
1 assert("".isDot); 2 assert(".".isDot); 3 assert("./".isDot); 4 assert("./.".isDot); 5 assert("././".isDot); 6 assert(!"/".isDot); 7 assert(!"hello".isDot); 8 assert(!".git".isDot);
See Implementation
Whether str can be represented by ".".