String Derived Types
Internet object specifies email
, url
, datetime
, date
and time
as derived types of string and also provides built-in support for them.
The following snippet represents a string and its derived types.
Here the, name
is of string type and will only accept strings. Similarly, emailId
, profileUrl
, journyDate
departureTime
and bookingDatetimedate
are of different types such as email
, url
, date
, time
, datetime
. Therefore they will only accept values with the defined types for the respective variable.
Last updated