Skip to content

Commit

Permalink
Add types (#1231)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <[email protected]>
  • Loading branch information
InvincibleRMC authored Mar 8, 2024
1 parent eaee1d2 commit a3d5a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/rclpy/topic_or_service_is_hidden.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
HIDDEN_TOPIC_PREFIX = '_'


def topic_or_service_is_hidden(name):
def topic_or_service_is_hidden(name: str) -> bool:
"""
Return True if a given topic or service name is hidden, otherwise False.
Expand Down

0 comments on commit a3d5a5d

Please sign in to comment.