Applesauce
Preparing search index...
applesauce-core
Helpers
fillAndTrimTag
Function fillAndTrimTag
fillAndTrimTag
(
tag
:
(
string
|
null
|
undefined
)
[]
,
minLength
?:
number
)
:
string
[]
Replaces null and undefined with "" in tags and trims them down to a set length if they ends with ""
Parameters
tag
: (
string
|
null
|
undefined
)
[]
minLength
:
number
= 2
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Applesauce
Loading...
Replaces null and undefined with "" in tags and trims them down to a set length if they ends with ""