MCPcopy Create free account
hub / github.com/UI5/webcomponents / _checkValueValidity

Method _checkValueValidity

packages/main/src/DatePicker.ts:677–682  ·  view source on GitHub ↗

* Checks if the provided value is valid and within valid range. * @protected * @param value

(value: string)

Source from the content-addressed store, hash-verified

675 * @param value
676 */
677 _checkValueValidity(value: string): boolean {
678 if (value === "") {
679 return true;
680 }
681 return this.isValidValue(value) && this.isInValidRange(value);
682 }
683
684 /**
685 * Checks if the provided value is valid and within valid range.

Callers 7

_calendarTimestampMethod · 0.95
_updateValueStateMethod · 0.95
_extractLastTimestampMethod · 0.80

Calls 2

isValidValueMethod · 0.95
isInValidRangeMethod · 0.95

Tested by

no test coverage detected