Determine sentence type: Difference between revisions

Content added Content deleted
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 715: Line 715:
The syntax highlighting here for Raku isn't the best. | S</pre>
The syntax highlighting here for Raku isn't the best. | S</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|Go}}
{{trans|Go}}
<syntaxhighlight lang="vlang">fn sentence_type(s string) string {
<syntaxhighlight lang="v (vlang)">fn sentence_type(s string) string {
if s.len == 0 {
if s.len == 0 {
return ""
return ""