asSharedPod<TRawValue extends Object> method

SharedPod<T, TRawValue> asSharedPod<TRawValue extends Object>()

Casts the ValueListenable to a SharedPod.

Throws a TypeError if the cast cannot be performed.

Implementation

SharedPod<T, TRawValue> asSharedPod<TRawValue extends Object>() {
  return this as SharedPod<T, TRawValue>;
}