containvalue

containvalue

This topic describes the syntax and usage of the containValue() function in Zoho Creator .

Description

The containValue() function returns a Boolean value - True, if this map maps one or more keys to the specified value; otherwise false

Syntax

<map>.containValue(<value>)

Return Value

Returns True, if this map maps one or more keys to the specified value; otherwise false

Example

serviceURL = map();
serviceURL.put("creator","http://creator.zoho.com");

serviceURL.put("writer", "http://writer.zoho.com");
serviceURL.put("sheet", "http://sheet.zoho.com");

serviceURL.containValue("http://writer.zoho.com"); //returns true

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com