A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.hashicorp.com/sentinel/docs/functions/length below:

Sentinel Language - Builtin Function: Length | Sentinel

The built-in function length returns the length of a collection or string.

The length of a string is the number of bytes in the string. It is not necessarilly the number of characters. The length of a collection is the number of elements in that collection. The length of undefined is undefined.

Examples:

length("foo")              // 3
length([1, 2, 3, 4])       // 4
length({ "key": "value" }) // 1

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4