Automattic\WooCommerce\EmailEditor\Validator\Schema
Number_Schema::exclusiveMaximum
Sets the exclusiveMaximum property to true.
Method of the class: Number_Schema{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Number_Schema = new Number_Schema(); $Number_Schema->exclusiveMaximum( $value ): self;
- $value(float) (required)
- Maximum value of the number.
Number_Schema::exclusiveMaximum() Number Schema::exclusiveMaximum code WC 10.6.2
public function exclusiveMaximum( float $value ): self {
return $this->update_schema_property( 'maximum', $value )
->update_schema_property( 'exclusiveMaximum', true );
}