← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265864]: How to tell if a variable is a string or a list, or etc in Sikuli?

 

Question #265864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265864

    Status: Open => Answered

RaiMan proposed the following answer:
http://stackoverflow.com/questions/922774/check-if-input-is-a-list-
tuple-of-strings-or-a-single-string

isinstance()

https://docs.python.org/2/library/functions.html#isinstance

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.