frontend
Preparing search index...
utils/cli/commands/sharedBettingCommands
parseBettingCommand
Function parseBettingCommand
parseBettingCommand
(
input
:
string
,
extraCommands
?:
string
[]
,
extraParser
?:
(
cmd
:
string
,
args
:
string
[]
,
)
=>
{
amount
?:
number
;
command
:
string
}
|
{
error
:
string
}
|
null
,
)
:
{
amount
?:
number
;
command
:
string
}
|
{
error
:
string
}
Parse shared betting commands. Returns [command, amount?] or error.
Parameters
input
:
string
Optional
extraCommands
:
string
[]
Optional
extraParser
:
(
cmd
:
string
,
args
:
string
[]
,
)
=>
{
amount
?:
number
;
command
:
string
}
|
{
error
:
string
}
|
null
Returns
{
amount
?:
number
;
command
:
string
}
|
{
error
:
string
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
frontend
Loading...
Parse shared betting commands. Returns [command, amount?] or error.