@eagleoutice/flowr - v2.10.1
    Preparing search index...

    Define a built-in constant (like NULL or TRUE) and the TS value it should have

    interface BuiltInConstantDefinition<Value> {
        assumePrimitive?: boolean;
        names: Identifier[];
        type: "constant";
        value: Value;
    }

    Type Parameters

    • Value

      The type of the constant value

    Hierarchy (View Summary)

    Hierarchy-Diagram

    UML class diagram of BuiltInConstantDefinition
    Index

    Properties

    assumePrimitive?: boolean

    Should we assume that the value is a primitive?

    names: Identifier[]

    The function name to define to the given configuration

    type: "constant"

    The type of the built-in configuration

    value: Value

    The constant value to define