MCPcopy Create free account
hub / github.com/ljharb/qs / isNonNullishPrimitive

Function isNonNullishPrimitive

lib/stringify.js:55–61  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

53};
54
55var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
56 return typeof v === 'string'
57 || typeof v === 'number'
58 || typeof v === 'boolean'
59 || typeof v === 'symbol'
60 || typeof v === 'bigint';
61};
62
63var sentinel = {};
64

Callers 1

stringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected