blob: b572080d6708ede32905434d0f7014cf3ae8469f (
plain)
1
2
3
4
5
6
7
8
|
/**
* Determine if the browser is capable of Webauthn
*/
export default function supportsWebauthn(): boolean {
return (
window?.PublicKeyCredential !== undefined && typeof window.PublicKeyCredential === 'function'
);
}
|