assertPackName

open fun assertPackName(@NotNull raw: @NotNull String)

Asserts that the given raw string is a valid pack name. Throws a IllegalArgumentException if the name contains illegal characters.

Parameters

raw

The raw string to validate.