Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/react/react
/ isWriteable
Function
isWriteable
compiler/packages/make-read-only-util/src/makeReadOnly.ts:35–37 ·
view source on GitHub ↗
(desc: PropertyDescriptor)
Source
from the content-addressed store, hash-verified
33
34
// Utility functions
35
function
isWriteable(desc: PropertyDescriptor) {
36
return
(desc.writable || desc.set) && desc.configurable;
37
}
38
39
function
getOrInsertDefault(
40
m: SavedROObjects,
Callers
1
makeReadOnly
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected