Functions

typeIds
I

Returns the type-ids induced by a typedesc value.

typeIds

function typeIds(typedesc t, boolean primaryOnly) returns readonly & TypeId[ ]?
Isolated Function

Returns the type-ids induced by a typedesc value.

Parameters

  • t typedesc
  • the typedesc

  • primaryOnly boolean (default false)
  • if true, only the primary type-ids will be returned; otherwise, all type-ids will be returned

Return Type

(readonly & TypeId[ ]?)

an array containing the type-ids induced by t or nil if t is not definite