Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 495 Bytes

record.getSingle.md

File metadata and controls

21 lines (15 loc) · 495 Bytes

Record.getSingle

The getSingle function is established to get the first object ( not a field ) from 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 data = record.getSingle();

API

CallingReturning
Record . getSingle ( )Object