Trevixal API
Preparing search index...
@trevixal/extension-embed
validateAttachment
Function validateAttachment
validateAttachment
(
file
:
File
,
options
:
AttachmentOptions
)
:
string
|
null
Validate a file against the options; returns null when acceptable.
Parameters
file
:
File
options
:
AttachmentOptions
Returns
string
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Validate a file against the options; returns null when acceptable.