예제 #1
0
 public static bool IsBool(this JsonTokenType tokenType) => tokenType == JsonTokenType.Boolean;
예제 #2
0
 public static bool IsInt(this JsonTokenType tokenType) => tokenType == JsonTokenType.Integer;
예제 #3
0
 private static bool IsNumber(TokenType tokenType)
 {
     return(tokenType == TokenType.Float || tokenType == TokenType.Integer);
 }