getArgumentOrNull

inline fun <T> CommandContext<CommandSourceStack>.getArgumentOrNull(name: String): T?(source)