Closed ilyash-b closed 1 year ago
Given the hash h, check that either key k is not present or, if it is present, it matches the pattern p.
h
k
p
Right now there is no straightforward way to check the above. Use case: id and params in https://www.jsonrpc.org/specification
id
params
Idea: {"key": IfExists(pattern)}
{"key": IfExists(pattern)}
In dev
dev
Given the hash
h
, check that either keyk
is not present or, if it is present, it matches the patternp
.Right now there is no straightforward way to check the above. Use case:
id
andparams
in https://www.jsonrpc.org/specification