Function isAssetFilename

  • Returns whether or not the passed filename is a valid file or image asset filename

    Parameters

    • filename: string

      Filename to validate

    Returns boolean

    Whether or not the filename is an asset filename