UNPKG
vectors-chunkers
Version:
latest (1.0.2)
1.0.2
1.0.1
A flexible text and data chunking library for vector databases and LLMs
vectors-chunkers
/
test-chunker
/
node_modules
/
es-object-atoms
/
isObject.js
7 lines
(5 loc)
•
161 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
/**
@type
{
import('./isObject')
} */
module
.
exports
=
function
isObject
(
x
) {
return
!!x && (
typeof
x ===
'function'
||
typeof
x ===
'object'
); };