Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

LeafType::parseValuepublicWC 1.0

Parses an externally provided value (query variable) to use as an input.

Should throw an exception with a client-friendly message on invalid values, @see ClientAware.

Method of the class: LeafType{}

No Hooks.

Returns

Mixed.

Usage

$LeafType = new LeafType();
$LeafType->parseValue( $value );
$value(mixed) (required)
.

LeafType::parseValue() code WC 10.9.1

public function parseValue($value);