export function getScopes()

in src/smartScopeHelper.ts [73:81]


export function getScopes(scopes: string | string[]): string[] {
    if (Array.isArray(scopes)) {
        return scopes;
    }
    if (typeof scopes === 'string') {
        return scopes.split(' ');
    }
    return [];
}