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