typeof を動作させるために switch を使用して string にキャストする必要があるのはなぜですか?
これは機能しません:
typeof: type? get 'optional
switch typeof [
word! [
print "word"
]
string! [
print "string"
]
]
これは機能します:
typeof: type? get 'optional
switch to-string typeof [
"word" [
print "word"
]
"string" [
print "string"
]
]