MCPcopy
hub / github.com/asm-js/validator / hasDot

Function hasDot

lib/validate.js:52–54  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

50
51// (string) -> boolean
52function hasDot(s) {
53 return s.indexOf(".") !== -1;
54}
55
56// (string) -> boolean
57function dotless(s) {

Callers 1

dotlessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected