MCPcopy Index your code
hub / github.com/plotly/dash / ifEditable

Function ifEditable

components/dash-table/src/dash-table/conditional/index.ts:137–145  ·  view source on GitHub ↗
(
    condition: IEditableElement | undefined,
    isEditable: boolean
)

Source from the content-addressed store, hash-verified

135}
136
137export function ifEditable(
138 condition: IEditableElement | undefined,
139 isEditable: boolean
140) {
141 if (!condition || condition.column_editable === undefined) {
142 return true;
143 }
144 return isEditable === condition.column_editable;
145}
146
147export type Filter<T> = (s: T[]) => T[];
148

Callers 1

convertElementFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…