Compartilhar via


JsonExtensions.IsNumber(JToken) Método

Definição

Indica se o token JSON fornecido é ou não um literal numérico.

public static bool IsNumber (this Newtonsoft.Json.Linq.JToken token);
static member IsNumber : Newtonsoft.Json.Linq.JToken -> bool
<Extension()>
Public Function IsNumber (token As JToken) As Boolean

Parâmetros

token
Newtonsoft.Json.Linq.JToken

O token a ser verificado.

Retornos

true se o token JSON fornecido representar um número, caso contrário, false .

Aplica-se a