FutureProg functions

totrait

Lookupcomputer function, computer program, standard futureprog

Overload 1

totrait overload 1

Trait totrait(Number id)
Available in
  • computer function
  • computer program
  • standard futureprog
Converts an ID number into the specified type, if one exists
ParameterTypeDescription
id Number The ID to look up

Overload 2

totrait overload 2

Trait totrait(Text name)
Available in
  • computer function
  • computer program
  • standard futureprog
Converts a name into the specified type, if one exists
ParameterTypeDescription
name Text The name to look up