Object.first >= 0.1.11

Purpose

Get the first entry of an object or array, or the value itself if it is neither

Syntax

Object.first ( Objectvariable );

Parameters

variable

Examples

Object.first({a: 47});>>> 47

Object.first([55, 23]);>>> 55

Object.first(1);>>> 1