Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart check type of variable

class Foo { }

main() {
  var foo = new Foo();
  if (foo is Foo) {
    print("it's a foo!");
  }
}
 
PREVIOUS NEXT
Tagged: #dart #check #type #variable
ADD COMMENT
Topic
Name
2+5 =