# ScalarValue

The `ScalarValue` class contains a scalar value.

## Properties

| Property    | Description                                                                                                                           |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `lastValue` | <p><code>(get) lastValue: number (set) (Not Available)</code></p><p>Specifies a number representing the last value of the object.</p> |

## Methods

| Method         | Description                                                                                                                                                                                                                                                                                       |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pinLastValue` | <p><code>pinLastValue(): ConstScalarSignal</code></p><p>Returns a <code>ConstScalarSignal</code> containing a constant value which is the last value of the specified signal before <code>pinLastValue</code> is called. ConstScalarSignal can be passed to a functions which accept numbers.</p> |
