pub fn is_instance(value: &Value, class: &Value) -> boolExpand description
Mirrors TS e instanceof <ClassName>: panic payloads in the
transpiled tests are Value::Str(format!("[{kind}] {message}"))
(see ExchangeError’s Display impl), so the class name is whatever
sits between the first pair of square brackets. Matches the
expected-error-class names that broker-id and static-request tests
pass as Value::Str("InvalidProxySettings").