MCPcopy Create free account
hub / github.com/porsager/postgres / firstIsString

Function firstIsString

cf/src/types.js:188–192  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

186export const END = {}
187
188function firstIsString(x) {
189 if (Array.isArray(x))
190 return firstIsString(x[0])
191 return typeof x === 'string' ? 1009 : 0
192}
193
194export const mergeUserTypes = function(types) {
195 const user = typeHandlers(types || {})

Callers 1

handleValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected