Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 682 Bytes

record.getValue.md

File metadata and controls

26 lines (19 loc) · 682 Bytes

Record.getValue

The getValue function is established to get a field value from the first object of the record.

Sample

var record = new Record([
	{"data1":"hello world", "data2":123, "data3":new Date("2016/12/13") },
	{"data1":"hello human", "data2":456, "data3":new Date("2016/12/14") }
]);
var value = record.getValue("data1");

API

CallingReturning
Record . getValue ( field )String|Number|Date|Boolean
ParametersTypeDescription
fieldStringThe field name of the array.