Skip to main content

Type

Type

Kind: global class

new Type(name)

ParamType
nameString

type.name : String

Kind: instance property of Type

type.fields : Array.<Field>

Kind: instance property of Type

type.isPrimitive : boolean

Kind: instance property of Type

type.isFixedLength : boolean

Kind: instance property of Type

type.getFieldByName(name) ⇒ Field | null

Kind: instance method of Type

ParamType
nameString

type.addField(name, type) ⇒ Field

Kind: instance method of Type

ParamType
nameString
typeType

type.clone() ⇒ Type

Kind: instance method of Type