@wocart/theme / index / isFieldVisible
Function: isFieldVisible()
isFieldVisible(
field,values):boolean
Whether an editor shows field, given the current values of the fields
beside it — what is stored, else the default. A field with no value
compares as null.
Parameters
field
values
Readonly<Record<string, unknown>>
Returns
boolean