Visualization
    Preparing search index...

    Interface DataType

    Represents the data type of a value.

    interface DataType {
        name:
            | "String"
            | "Integer"
            | "LongInteger"
            | "Real"
            | "SingleReal"
            | "Currency"
            | "Boolean"
            | "Date"
            | "DateTime"
            | "Time"
            | "TimeSpan"
            | "Binary";
        isDate(): boolean;
        isNumber(): boolean;
        isTime(): boolean;
        isTimeSpan(): boolean;
    }
    Index

    Properties

    name:
        | "String"
        | "Integer"
        | "LongInteger"
        | "Real"
        | "SingleReal"
        | "Currency"
        | "Boolean"
        | "Date"
        | "DateTime"
        | "Time"
        | "TimeSpan"
        | "Binary"

    Gets the name of this DataType.

    Methods

    • Gets a value indicating whether the data type is represents by Date or not, that is, Date, or DateTime.

      Returns boolean

    • Gets a value indicating whether the data type is numeric or not, that is, Integer, Currency, Real, LongInteger, or SingleReal.

      Returns boolean

    • Gets a value indicating whether the data type is represents by Time or not.

      Returns boolean

    • Gets a value indicating whether the data type is represents by TimeSpan or not.

      Returns boolean