Function isSwf

  • Returns whether the given filename and MIME type resolve as a Flash content.

    Parameters

    • filename: string

      The filename to test.

    • mimeType: null | string

      The MIME type to test.

    Returns boolean

    True if the given arguments resolve as a Flash content.