blockly > FieldAngle > doClassValidation_
FieldAngle.doClassValidation_() method
Ensure that the input value is a valid angle.
Signature:
protected doClassValidation_(newValue?: any): number | null;
Parameters
Parameter | Type | Description |
---|---|---|
newValue | any | (Optional) The input value. |
Returns:
number | null
A valid angle, or null if invalid.