# MimeHelper.IsPlainTextFile

Kind: Method  
Namespace: `Sisk.Core.Helpers`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Helpers.MimeHelper.IsPlainTextFile.html

## IsPlainTextFile(string?) {#Sisk_Core_Helpers_MimeHelper_IsPlainTextFile_System_String_}

Gets an boolean indicating if the specified file is an well-known plain text file.

```csharp
public static bool IsPlainTextFile(string? fileExtension)
```

### Parameters

`fileExtension` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The file extension, with or without the initial dot.

### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
