UNPKG
legions-thirdparty-plugin
Version:
latest (0.0.9)
0.0.9
0.0.8
常用工具类操作方法
github.com/duanguang/lerna-legion-library.git
legions-thirdparty-plugin
/
api
/
html2canvas
/
css
/
types
/
length.d.ts
5 lines
(4 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
import
{
CSSValue
}
from
'../syntax/parser'
;
import
{
DimensionToken
,
NumberValueToken
}
from
'../syntax/tokenizer'
;
export
declare
type
Length
=
DimensionToken
|
NumberValueToken
;
export
declare
const
isLength
:
(
token
:
CSSValue
) =>
token is
Length
;