mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
Utils.pm: IsInt for Loredo
git-svn-id: https://svn.fhem.de/fhem/trunk@5488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d01700d508
commit
ce505ac366
@ -175,6 +175,11 @@ sub UntoggleIndirect($$$)
|
||||
return;
|
||||
}
|
||||
|
||||
sub
|
||||
IsInt($)
|
||||
{
|
||||
defined $_[0] && $_[0] =~ /^[+-]?\d+$/;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user