Is not Variant a supported type?

The code below gives error Identifier not found "Variant"

unit Unit1;

interface

type

  TPerson = class
    FData: Variant;
  end;

It is not available.
The web/JavaScript equivalent is JSValue

Here is a list of Delphi / FPC elements that are not supported by Pas2Js:
https://fossies.org/linux/fpcbuild/fpcsrc/utils/pas2js/docs/translation.html#notsupportedelements

I find this page an essential resourse for any serious work with TMS Web Core ;)

1 Like

Thank you @Stephen_Pienaar. That was useful.