Skip to content

isKnownOrgAuthScope

isKnownOrgAuthScope(value): value is “org:read” | “org:configure” | “org:admin” | “org:action-callback”

Is value one of the org scopes this build knows about? The sibling of isKnownRepoAuthScope; see that function for why the guard exists.

string

value is “org:read” | “org:configure” | “org:admin” | “org:action-callback”