Automattic\WooCommerce\Api\Infrastructure\Schema
Type::nonNull
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() Type::nonNull code WC 10.9.4
public static function nonNull( $inner ) {
return WebonyxType::nonNull( $inner );
}