github-org-or-user ( org/user -- orgs/users )


Vocabulary
github

Inputs
org/useran object


Outputs
orgs/usersan object


Definition


: github-org-or-user ( org/user -- orgs/users )
get-user "type" of {
{ "User" [ "users" ] }
{ "Organization" [ "orgs" ] }
[
type>> "Unknown github username type: " prepend
throw
]
} case ;