gettype
gettype |
Purpose
Get type of the value contained within a basicvalue
Synopsis
function xreflect~gettype(bv:xreflect~basicvalue):string
Argument
bv
|
The
basicvalue to query
|
Return value
|
The type of the
basicvalue, equal to one of the following constants:
|
Example
The following:
myval := basicvalue('hello') writeln('type of myval=',myval.type)
produces this output:
type of myval=string