MCPcopy
hub / github.com/monkeytypegame/monkeytype / hasAdditionalAuthMethods

Function hasAdditionalAuthMethods

frontend/src/ts/auth.tsx:484–488  ·  view source on GitHub ↗
(authMethod: AuthMethod)

Source from the content-addressed store, hash-verified

482}
483
484export function hasAdditionalAuthMethods(authMethod: AuthMethod) {
485 return typedKeys(authMethods).some(
486 (it) => it !== authMethod && isUsingAuthentication(it),
487 );
488}
489
490export function getAuthMethodDisplay(authMethod: AuthMethod): string {
491 return authMethods[authMethod].display;

Callers 1

Calls 2

typedKeysFunction · 0.90
isUsingAuthenticationFunction · 0.85

Tested by

no test coverage detected