Automattic\WooCommerce\Api\Infrastructure\Schema

Type::nonNullpublic staticWC 1.0

Wrap a nullable schema type as non-null (T!).

Method of the class: Type{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = Type::nonNull( $inner );
$inner(mixed) (required)
A nullable schema type.

Type::nonNull() code WC 10.9.4

public static function nonNull( $inner ) {
	return WebonyxType::nonNull( $inner );
}