Whether str can be represented by ".".
assert("".isDot); assert(".".isDot); assert("./".isDot); assert("./.".isDot); assert("././".isDot); assert(!"/".isDot); assert(!"hello".isDot); assert(!".git".isDot);
See Implementation
Whether str can be represented by ".".