Skip to content

FileView.canAcceptExtension method

FileView › canAcceptExtension

Official

Whether the file view can accept an extension.

Signature:

canAcceptExtension(extension: string): boolean

Parameters:

ParameterTypeDescription
extensionstringThe file extension, without the leading dot.

Returns: boolean

Since: 0.9.7