Reports whether a binding is KV-shaped.
Used to fail at register() with a name rather than at the first request with a bare TypeError, when a configured binding turns out to be something else (a mistyped name pointing at an R2 bucket, for instance).
register()
TypeError
The binding to check
true when it carries the KV methods
true
0.2.0
Reports whether a binding is KV-shaped.
Used to fail at
register()with a name rather than at the first request with a bareTypeError, when a configured binding turns out to be something else (a mistyped name pointing at an R2 bucket, for instance).