Q. How do you check if a variable x is of type string?

आप कैसे जाँचेंगे कि कोई वेरिएबल x स्ट्रिंग प्रकार का है?

A
typeof x == "string"
B
type(x) == "string"
C
x.isString()
D
x == string

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment