MCPcopy
hub / github.com/vercel/styled-jsx / isString

Function isString

src/lib/stylesheet.js:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 process.env &&
9 process.env.NODE_ENV === 'production'
10const isString = o => Object.prototype.toString.call(o) === '[object String]'
11
12export default class StyleSheet {
13 constructor({ name = 'stylesheet', optimizeForSpeed = isProd } = {}) {

Callers 3

constructorMethod · 0.85
insertRuleMethod · 0.85
makeStyleTagMethod · 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…