Skip to content

splitpasswd

splitpasswd(user: string): [string, string | null]

Defined in: packages/pythonlib/src/urllib.ts:346

Split a user:pass into [user, password].

Parameters

ParameterTypeDescription
userstringUser string (may include :pass)

Returns

[string, string | null]

Tuple of [user, password]