---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, PMD Scripting, Scripts]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Concept: set Functions
layout: subsection
---

<a id="section_wgq_5lq_rkb"></a>
The `set` namespace provides functions for a set, which is an unordered collection of keys. Each key in the set must be unique. Examples:

-   `{"key1", "key2", "key3"}`
-   `{}` (empty set)


If an instance method is available, call a set function as a method on the `Set` instance:

```
thisSet.functionName(functionParam1, functionParam2)
```

Alternatively, you can call a set function using its `set` namespace syntax, where the `Set` instance is the first parameter:

```
set:functionName(thisSet, functionParam1, functionParam2)
```

