MCPcopy Index your code
hub / github.com/vuejs/composition-api / toString

Function toString

src/utils/utils.ts:3–3  ·  view source on GitHub ↗
(x: any)

Source from the content-addressed store, hash-verified

1import { getRegisteredVueOrDefault } from '../runtimeContext'
2
3const toString = (x: any) => Object.prototype.toString.call(x)
4
5export function isNative(Ctor: any): boolean {
6 return typeof Ctor === 'function' && /native code/.test(Ctor.toString())

Callers 1

isPlainObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…