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:
parent
d01700d508
commit
ce505ac366
@ -175,6 +175,11 @@ sub UntoggleIndirect($$$)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub
|
||||||
|
IsInt($)
|
||||||
|
{
|
||||||
|
defined $_[0] && $_[0] =~ /^[+-]?\d+$/;
|
||||||
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user