stdTypeOf | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function stdTypeOf

    • Check the type of a value, return its JS or STD type

      Parameters

      • value: unknown

        The value to check

      Returns
          | "string"
          | "number"
          | "bigint"
          | "boolean"
          | "symbol"
          | "undefined"
          | "object"
          | "function"
          | "Money"
          | "Date"
          | "null"
          | "Array"
          | "Instant"
          | "PlainDate"
          | "PlainDateTime"
          | "ZonedDateTime"
          | "File"
          | "Blob"

      The type of the value. If the value is an object but recognized as any of Money, Date, Blob, Temporal.Instant/PlainDate/PlainDateTime, that type is returned.