Javascript String isEmpty(targetStr)

Description

Javascript String isEmpty(targetStr)


function isEmpty(targetStr) {
 if (isNull(targetStr) || targetStr.length < 1) {
  return true;// ww w  . ja  v a  2s  .co  m
 } else {
  return false;
 }
}



PreviousNext

Related