@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
initials
Variable initials
Const
initials
:
(
name
?:
string
,
opts
?:
{
max
?:
number
}
)
=>
string
Initials from a name: 'Budi Santoso' → 'BS' (up to
max
).
Type Declaration
(
name
?:
string
,
opts
?:
{
max
?:
number
}
)
:
string
Parameters
Optional
name
:
string
Optional
opts
:
{
max
?:
number
}
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
@japofc/baileys - v2.4.7
Loading...
Initials from a name: 'Budi Santoso' → 'BS' (up to
max).