function isNotString(s) {
  if (s.length<2) return true; // too short
  if (s.length>40) return true; // too long
  if (s[0]=="#") return true; // a color
  if (s.endsWith(".json") || s.endsWith(".img")) return true; // a filename
  if (s.endsWith("=")) return true; // probably base64
  if (s.startsWith("BTN")) return true; // button name
  return false;
}
// Given a string value, work out if it's obviously not a text string
Given a string value, work out if it's obviously not a text string
Given a string value work out if it ' s obviously not a text string
function isNotString(s) {
  if (s.length<2) return true; 
  if (s.length>40) return true; 
  if (s[0]=="#") return true; 
  if (s.endsWith(".json") || s.endsWith(".img")) return true; 
  if (s.endsWith("=")) return true; 
  if (s.startsWith("BTN")) return true; 
  return false;
}
function isNotString ( s ) { if ( s . length < 2 ) return true ; if ( s . length > 40 ) return true ; if ( s [ 0 ] == "#" ) return true ; if ( s . endsWith ( ".json" ) || s . endsWith ( ".img" ) ) return true ; if ( s . endsWith ( "=" ) ) return true ; if ( s . startsWith ( "BTN" ) ) return true ; return false ; }
Given a string value, work out if it's obviously not a text string
Given a string value work out if it ' s obviously not a text string
// too short // too long // a color // a filename // probably base64 // button name