Skip to content

Instantly share code, notes, and snippets.

@p2or
Last active May 21, 2023 19:36
Show Gist options
  • Save p2or/f6c39aa255b1f9b201c8 to your computer and use it in GitHub Desktop.
Save p2or/f6c39aa255b1f9b201c8 to your computer and use it in GitHub Desktop.
TypeCheck #Blender
def typecheck(obj):
return hasattr(obj, '__iter__') and not isinstance(obj, str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment