Skip to main content

Function: attachmentList()

function attachmentList(value): AttachmentRef[];

Defined in: components/capture.tsx:183

The stored value as a list, whatever shape it is in.

A draft written by another build (or by the native app) may hold a single ref where this form now says multiple, or the other way round. Reading both shapes costs four lines and keeps a half-finished interview openable.

Parameters

ParameterType
valueunknown

Returns

AttachmentRef[]