Skip to content

Is there a function to test for type, as in is_integer, is_string, is_map, is_list, ...? #345

Answered by kasperl
lutzbickhardt asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can test using:

x is int
x is string
x is Map
x is List

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by floitsch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants