Class MarkupTypeKt
-
- All Implemented Interfaces:
public final class MarkupTypeKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanisValidMarkupType(String type)Utility function to validate if a markup type is supported and valid. -
-
Method Detail
-
isValidMarkupType
final static Boolean isValidMarkupType(String type)
Utility function to validate if a markup type is supported and valid.
This function checks if the provided markup type string corresponds to one of the supported markup types. It excludes the UNKNOWN type as it represents an invalid or unsupported markup format.
- Parameters:
type- The markup type string to validate.- Returns:
trueif the markup type is valid and supported,falseotherwise.
-
-
-
-