public function WebformAnalysis::isInt in Webform Analysis 8
Is Int.
Parameters
string $i: String Number.
Return value
bool Is Int.
Overrides WebformAnalysisInterface::isInt
1 call to WebformAnalysis::isInt()
- WebformAnalysis::castNumeric in src/
WebformAnalysis.php - Cast Numeric.
File
- src/
WebformAnalysis.php, line 176
Class
- WebformAnalysis
- WebformAnalysis.
Namespace
Drupal\webform_analysisCode
public function isInt($i = '') {
return $i === (string) (int) $i;
}