Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 226 Bytes

File metadata and controls

11 lines (8 loc) · 226 Bytes

isPhantom

window.phantom.ethereum.isPhantom

A boolean that identifies if Phantom is installed.

const isPhantomInstalled = window.phantom?.ethereum?.isPhantom;
console.log(isPhantomInstalled);
// true