@ts-rust/std - v0.0.5
    Preparing search index...

    Type Alias Primitive

    Primitive: boolean | string | number | bigint | symbol | null | undefined

    Represents all JavaScript primitive types.

    A primitive is any value that is not an object and has no methods. Primitives are immutable (except for symbol properties) and are compared by value, not by reference.

    The Primitive type includes:

    • boolean
    • string
    • number
    • bigint
    • symbol
    • null
    • undefined

    Objects, arrays, functions, and other reference types are not primitives. Use this type to enforce that a value belongs to one of these fundamental types.