JsonExtensions.IsNumber(JToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether or not the given JSON token is a numeric literal.
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
Parameters
- token
- Newtonsoft.Json.Linq.JToken
The token to check.
Returns
true
if the given JSON token represents a number, false
otherwise.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET