Number - potatoscript/php GitHub Wiki
Number
Check-for-integer
- to check if your variable is an integer or a string containing a integer without other digit than 0 to 9
$bool = (!is_int($value)?(ctype_digit($value)):true);
if(ctype_digit($js_search)){
//code block
}