Chalkboard - v3.0.1
    Preparing search index...

    Type Alias ChalkboardSet<T>

    The type for sets.

    type ChalkboardSet<T> = {
        contains: (element: T) => boolean;
        elements?: T[];
        id?: string;
    }

    Type Parameters

    • T
    Index

    Properties

    contains: (element: T) => boolean

    Function to check if an element belongs to the set

    elements?: T[]

    Optional array for the elements of a finite set

    id?: string

    Unique identifier for known sets (e.g., "Z", "Q", "R", "C")