MCPcopy Create free account
hub / github.com/CoderOpen/waimai / isURLSearchParams

Function isURLSearchParams

front/utils/luch-request/utils.js:44–46  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

42 * @returns {boolean} True if value is a URLSearchParams object, otherwise false
43 */
44export function isURLSearchParams (val) {
45 return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams
46}
47
48
49/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected