MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / isObject

Function isObject

packages/plugin-datasource/src/utils.ts:11–13  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

9import type { IDataSourceRuntimeContext, InterpretDataSourceConfig, RuntimeOptionsConfig } from './types'
10
11function isObject(obj: unknown) {
12 return Object.prototype.toString.call(obj).indexOf('Object') !== -1
13}
14
15export const transformExpression = (code: string, context: IDataSourceRuntimeContext) => {
16 // 补充异常情况兼容性

Callers 1

buildJsonObjFunction · 0.70

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected