微信登录

快速判断运算符 - instanceof String

  1. String name = "James";
  2. boolean result = name instanceof String;

true