MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / check_is_integer

Function check_is_integer

web/pgadmin/utils/__init__.py:617–620  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

615 return None
616
617 def check_is_integer(value):
618 if not isinstance(value, int):
619 return gettext("Port must be integer for server '%s'" % server)
620 return None
621
622 for attrib in ("Group", "Name"):
623 errmsg = check_attrib(attrib)

Callers 1

validate_json_dataFunction · 0.85

Calls 1

gettextFunction · 0.85

Tested by

no test coverage detected