# _ValueParser
<span class="source-link">[[Source]](src/cli/command_parser.md#L341)</span>
```pony
primitive val _ValueParser
```

## Constructors

### create
<span class="source-link">[[Source]](src/cli/command_parser.md#L341)</span>


```pony
new val create()
: _ValueParser val^
```

#### Returns

* [_ValueParser](cli-_ValueParser.md) val^

---

## Public Functions

### parse
<span class="source-link">[[Source]](src/cli/command_parser.md#L342)</span>


```pony
fun box parse(
  typ: _ValueType val,
  arg: String val)
: (Bool val | String val | I64 val | 
    U64 val | F64 val | _StringSeq val | 
    SyntaxError val)
```
#### Parameters

*   typ: [_ValueType](cli-_ValueType.md) val
*   arg: [String](builtin-String.md) val

#### Returns

* ([Bool](builtin-Bool.md) val | [String](builtin-String.md) val | [I64](builtin-I64.md) val | 
    [U64](builtin-U64.md) val | [F64](builtin-F64.md) val | [_StringSeq](cli-_StringSeq.md) val | 
    [SyntaxError](cli-SyntaxError.md) val)

---

### eq
<span class="source-link">[[Source]](src/cli/command_parser.md#L342)</span>


```pony
fun box eq(
  that: _ValueParser val)
: Bool val
```
#### Parameters

*   that: [_ValueParser](cli-_ValueParser.md) val

#### Returns

* [Bool](builtin-Bool.md) val

---

### ne
<span class="source-link">[[Source]](src/cli/command_parser.md#L342)</span>


```pony
fun box ne(
  that: _ValueParser val)
: Bool val
```
#### Parameters

*   that: [_ValueParser](cli-_ValueParser.md) val

#### Returns

* [Bool](builtin-Bool.md) val

---

