isString method

IsString isString()

Add IsString validation rule.

Implementation

IsString isString() {
  return IsString()..parent = this;
}