Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Variable persistIsValueConst

    persistIsValue: <T>(value: T) => value is T & PersistValue

    Proves at runtime that a value is plain JSON data before it enters a store, which holds every attribute's value as PersistValue.

    Type Declaration

      • <T>(value: T): value is T & PersistValue
      • Type Parameters

        • T

        Parameters

        • value: T

          Value about to be stored.

        Returns value is T & PersistValue

        Whether the value consists only of plain objects, arrays, and JSON primitives.