@nomiclabs/buidler > ArgumentType

# Interface: ArgumentType

# Type parameters

# T

# Hierarchy

ArgumentType

# Index

# Properties

# Methods


# Properties

# name

● name: string

Defined in internal/core/params/argumentTypes.ts:14


# Methods

# parse

parse(argName: string, strValue: string): T

Defined in internal/core/params/argumentTypes.ts:26

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
strValue string argument's string value to be parsed.

Returns: T the parsed value.


# <Optional> validate

validate(argName: string, argumentValue: any): void

Defined in internal/core/params/argumentTypes.ts:36

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
argumentValue any value to be validated

Returns: void