2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +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:
rudolfkoenig 2014-04-08 11:32:17 +00:00
parent d01700d508
commit ce505ac366

View File

@ -175,6 +175,11 @@ sub UntoggleIndirect($$$)
return; return;
} }
sub
IsInt($)
{
defined $_[0] && $_[0] =~ /^[+-]?\d+$/;
}
1; 1;