MCPcopy Index your code
hub / github.com/angular/angular / isStylingValuePresent

Function isStylingValuePresent

packages/core/src/render3/instructions/styling.ts:975–981  ·  view source on GitHub ↗

* Determines if the binding value should be used (or if the value is 'undefined' and hence priority * resolution should be used.) * * @param value Binding style value.

(value: any)

Source from the content-addressed store, hash-verified

973 * @param value Binding style value.
974 */
975function isStylingValuePresent(value: any): boolean {
976 // Currently only `undefined` value is considered non-binding. That is `undefined` says I don't
977 // have an opinion as to what this binding should be and you should consult other bindings by
978 // priority to determine the valid value.
979 // This is extracted into a single function so that we have a single place to control this.
980 return value !== undefined;
981}
982
983/**
984 * Normalizes and/or adds a suffix to the value.

Callers 2

updateStylingFunction · 0.85
findStylingValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…