MCPcopy
hub / github.com/tw-in-js/twind / apply

Function apply

packages/core/src/runtime.ts:71–75  ·  view source on GitHub ↗
(_target, _thisArg, args)

Source from the content-addressed store, hash-verified

69 noop as unknown as Twind<any, any>,
70 {
71 apply(_target, _thisArg, args) {
72 if (DEV) assertActive()
73
74 return active(args[0])
75 },
76 get(target, property) {
77 if (DEV) {
78 // Workaround webpack accessing the prototype in dev mode

Callers 3

rules.test.tsFile · 0.90
css.test.tsFile · 0.85
alias.test.tsFile · 0.85

Calls 1

assertActiveFunction · 0.85

Tested by

no test coverage detected