Releases: ncoden/sass-types
Releases · ncoden/sass-types
v0.2.0
Initial Release.
Features:
st-init
: initialize required datas.st-add-type
: register a type and its test function.st-check-type
: check if a value match a given type.st-assert
: for a given map of types and values, check if all the values matches their type, and throw an error if not.
Default types:
map
aliasMap
(also matches an empty list)list
aliasList
string
aliasString
number
aliasNumber
,bool
aliasBoolean
color
aliasColor