Type guard for JSON-RPC 2.0 message ID.
JSON-RPC IDs can be strings, numbers, or null. This guard checks for the presence of an id property with a valid type.
id
The value to check.
true if value has a valid JSON-RPC id property.
true
value
Type guard for JSON-RPC 2.0 message ID.
JSON-RPC IDs can be strings, numbers, or null. This guard checks for the presence of an
idproperty with a valid type.