schema-components - v3.7.0
    Preparing search index...

    Function isPrimitive

    • Type guard for a JSON primitive: string, number, boolean, or null. Used to short-circuit walk-time decisions about leaf values.

      Parameters

      • value: unknown

      Returns value is string | number | boolean | null