literal
fun <S> literal(name: String): ArgumentConstructor<S, LiteralArgumentBuilder<S>, LiteralDescriptor>
Content copied to clipboard
Creates a literal argument with name as the literal.
Like other arguments, literal arguments create accessors, which can be checked for presence of optional literals. However, ArgumentReaders produced from those accessors serve no purpose due to the argument not having a value.
Author
Oliver-makes-code (Emma)