@kwayteow/utils - v0.6.0
Preparing search index...
stringifyQueryParams
Function stringifyQueryParams
stringifyQueryParams
(
params
:
Record
<
string
,
undefined
|
null
|
string
|
number
|
boolean
>
,
options
?:
{
skipEmpty
?:
boolean
;
skipNull
?:
boolean
}
,
)
:
string
将对象转换为查询字符串
Parameters
params
:
Record
<
string
,
undefined
|
null
|
string
|
number
|
boolean
>
包含要转换的键值对的对象
options
:
{
skipEmpty
?:
boolean
;
skipNull
?:
boolean
}
= {}
字符串化选项
Returns
string
查询字符串(不包含前导 ?)
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@kwayteow/utils - v0.6.0
Loading...
将对象转换为查询字符串