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