MCPcopy Create free account
hub / github.com/betsol/angular-input-modified / normalizeValue

Function normalizeValue

src/directive/ngModel.js:225–227  ·  view source on GitHub ↗

* Casting all null-like values to actual null for guaranteed comparison. * * @param {*} value * * @returns {*}

(value)

Source from the content-addressed store, hash-verified

223 * @returns {*}
224 */
225 function normalizeValue (value) {
226 return (undefined === value || '' === value ? null : value);
227 }
228
229})(window, angular);

Callers 1

compareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected