Skip to content

API reference Obsidian.API.Commands.ArgumentParsers

BoolArgumentParser class

public sealed class BoolArgumentParser : BaseArgumentParser<bool>

In Obsidian.API.

Constructors

public BoolArgumentParser();public BoolArgumentParser(bool value);

Properties

public override int Id { get; }public override string Identifier { get; }public bool Value { get; }

Methods

public override bool TryParseArgument(string input, CommandContext ctx, out bool result);

On this page