Instance accessors
Public
Variables.prototype.value
Variables.prototype.valuepublic get value(): Value | undefined {
return this.#value;
}Returns
Example usage
// Example usage.
import { Variable } from '@angular-package/text';
// Returns Variable {'{fix}'} of Variable<"fix", string>.
const fix = new Variable('fix');
// Returns undefined of string | undefined.
fix.value;
// Returns Variable {'{fix}'} of Variable<"fix", "Open the link https://duckduckgo.com/">.
const fixed = new Variable('fix', 'Open the link https://duckduckgo.com/');
// Returns Open the link https://duckduckgo.com/ of "Open the link https://duckduckgo.com/" | undefined.
fixed.value;
Variables.prototype.variable
Variables.prototype.variableReturns
Example usage
[Symbol.toStringTag]
[Symbol.toStringTag]Example usage
Last updated