How to check if YamlScalar is a string #412
Answered
by
charleskorn
wakaztahir
asked this question in
Q&A
-
The JsonPrimitive has isString property which is a boolean , but YamlScalar doesn't How would I know if YamlScalar is a string |
Beta Was this translation helpful? Give feedback.
Answered by
charleskorn
Apr 16, 2023
Replies: 1 comment 2 replies
-
YAML does not have an equivalent concept - in YAML, Could you perhaps expand on what you're trying to do? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wakaztahir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YAML does not have an equivalent concept - in YAML,
"3"
is a valid integer, for example.Could you perhaps expand on what you're trying to do?