Perseus
Preparing search index...
@khanacademy/kas
unitParse
Function unitParse
unitParse
(
input
:
string
,
)
:
|
{
coefficient
:
any
;
error
?:
undefined
;
expr
:
Mul
;
parsed
:
boolean
;
type
:
any
;
unit
:
Expr
;
}
|
{
coefficient
?:
undefined
;
error
?:
undefined
;
expr
?:
undefined
;
parsed
:
boolean
;
type
:
any
;
unit
:
Expr
;
}
|
{
coefficient
?:
undefined
;
error
:
string
;
expr
?:
undefined
;
parsed
:
boolean
;
type
?:
undefined
;
unit
?:
undefined
;
}
Parameters
input
:
string
Returns
|
{
coefficient
:
any
;
error
?:
undefined
;
expr
:
Mul
;
parsed
:
boolean
;
type
:
any
;
unit
:
Expr
;
}
|
{
coefficient
?:
undefined
;
error
?:
undefined
;
expr
?:
undefined
;
parsed
:
boolean
;
type
:
any
;
unit
:
Expr
;
}
|
{
coefficient
?:
undefined
;
error
:
string
;
expr
?:
undefined
;
parsed
:
boolean
;
type
?:
undefined
;
unit
?:
undefined
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Perseus
Loading...