MCPcopy
hub / github.com/microsoft/playwright / isURL

Function isURL

packages/isomorphic/utilityScriptSerializers.ts:58–64  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

56}
57
58function isURL(obj: any): obj is URL {
59 try {
60 return obj instanceof URL || Object.prototype.toString.call(obj) === '[object URL]';
61 } catch (error) {
62 return false;
63 }
64}
65
66function isError(obj: any): obj is Error {
67 try {

Callers 1

innerSerializeFunction · 0.70

Calls 1

callMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…