UNPKG

@arcgis/coding-components

Version:

Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.

1 lines โ€ข 737 kB
[{"id":"constants","title":"ืงื‘ื•ืขื™ื","items":[{"type":"constant","name":"infinity","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#infinity","description":"ืžื™ื™ืฆื’ ืขืจืš ื’ื“ื•ืœ ืžื›ืœ ืžืกืคืจ ืื—ืจ. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืžืืคื™ื™ืŸ '-Infinity' ื’ื ื‘ืชื•ืจ ื”ืขืจืš ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ ืžื‘ื™ืŸ ื›ืœ ื”ืžืกืคืจื™ื.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ืฉื‘ ืืช ื”ืžืงืกื™ืžื•ื ืžืชื•ืš ืืจื‘ืขื” ืขืจื›ื™ ืฉื“ื•ืช\n\n```arcade\nvar values = [ $feature.field1, $feature.field2, $feature.field3, $feature.field4 ];\nvar maxValue = -Infinity;\n\nfor(var i in values){\n maxValue = IIF(values[i] > maxValue, values[i], maxValue);\n}\n\nreturn maxValue;\n```\n\n","completion":{"label":"Infinity","detail":"Infinity","insertText":"Infinity","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื™ื™ืฆื’ ืขืจืš ื’ื“ื•ืœ ืžื›ืœ ืžืกืคืจ ืื—ืจ. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืžืืคื™ื™ืŸ '-Infinity' ื’ื ื‘ืชื•ืจ ื”ืขืจืš ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ ืžื‘ื™ืŸ ื›ืœ ื”ืžืกืคืจื™ื."}}},{"type":"constant","name":"pi","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#pi","description":"ื”ืขืจืš ืฉืœ ื”ื™ืงืฃ ื”ืžืขื’ืœ, ืœื—ืœืง ืœืงื•ื˜ืจ ืฉืœื•, ื‘ืขืจืš '3.14159'.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืฉื˜ื— ื”ืขื™ื’ื•ืœ\n\n```arcade\nvar r = $feature.radius;\nPI * r * r;\n```\n\n","completion":{"label":"PI","detail":"PI","insertText":"PI","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื”ืขืจืš ืฉืœ ื”ื™ืงืฃ ื”ืžืขื’ืœ, ืœื—ืœืง ืœืงื•ื˜ืจ ืฉืœื•, ื‘ืขืจืš '3.14159'."}}},{"type":"constant","name":"textformatting.backwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.backwardslash","description":"ืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืœื•ื›ืกืŸ ืื—ื•ืจื™ '\\'.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ '\\\\\\serverName\\foo\\bar'\n\n```arcade\nTextFormatting.BackwardSlash + TextFormatting.BackwardSlash + $feature.FILE_PATH\n```\n\n","completion":{"label":"TextFormatting.BackwardSlash","detail":"TextFormatting.BackwardSlash","insertText":"TextFormatting.BackwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืœื•ื›ืกืŸ ืื—ื•ืจื™ '\\'."}}},{"type":"constant","name":"textformatting.doublequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.doublequote","description":"ืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ื’ืจืฉื™ื™ื `\\\"`.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ 'Nicholas \\\"Nick\\\" Anderson'\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.DoubleQuote + $feature.ALIAS + TextFormatting.DoubleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.DoubleQuote","detail":"TextFormatting.DoubleQuote","insertText":"TextFormatting.DoubleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ื’ืจืฉื™ื™ื `\\\"`."}}},{"type":"constant","name":"textformatting.forwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.forwardslash","description":"ืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ืœื•ื›ืกืŸ ืงื“ืžื™ '/'.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ '151/low'\n\n```arcade\n$feature.POP_DENSITY + TextFormatting.ForwardSlash + $feature.CLASS\n```\n\n","completion":{"label":"TextFormatting.ForwardSlash","detail":"TextFormatting.ForwardSlash","insertText":"TextFormatting.ForwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ืœื•ื›ืกืŸ ืงื“ืžื™ '/'."}}},{"type":"constant","name":"textformatting.newline","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.newline","description":"ืžื›ื ื™ืก ืœื˜ืงืกื˜ ืฉื•ืจื” ื—ื“ืฉื” ืื• ืžืขื‘ืจ ืฉื•ืจื”. ืชื•ื•ื™ื•ืช ืฉืœ ืฉื•ืจื•ืช ืžืจื•ื‘ื•ืช **ืื™ื ืŸ** ื ืชืžื›ื•ืช ื‘-ArcGIS API 3.x for JavaScript ื•ืœื ื‘-ArcGIS Online Map Viewer Classic.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ \"T2N R1W\"\n\n```arcade\n\"T\" + $feature.TOWNSHIP + TextFormatting.NewLine + \"R\" + $feature.RANGE\n```\n\n","completion":{"label":"TextFormatting.NewLine","detail":"TextFormatting.NewLine","insertText":"TextFormatting.NewLine","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื›ื ื™ืก ืœื˜ืงืกื˜ ืฉื•ืจื” ื—ื“ืฉื” ืื• ืžืขื‘ืจ ืฉื•ืจื”. ืชื•ื•ื™ื•ืช ืฉืœ ืฉื•ืจื•ืช ืžืจื•ื‘ื•ืช **ืื™ื ืŸ** ื ืชืžื›ื•ืช ื‘-ArcGIS API 3.x for JavaScript ื•ืœื ื‘-ArcGIS Online Map Viewer Classic."}}},{"type":"constant","name":"textformatting.singlequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.singlequote","description":"ืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ื’ืจืฉ ืื—ื“ `'`.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ \\\"Nicholas 'Nick' Anderson\\\"\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.SingleQuote + $feature.ALIAS + TextFormatting.SingleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.SingleQuote","detail":"TextFormatting.SingleQuote","insertText":"TextFormatting.SingleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื›ื ื™ืก ืœื˜ืงืกื˜ ืชื• ืฉืœ ื’ืจืฉ ืื—ื“ `'`."}}}]},{"id":"enterprise_functions","title":"ืคื•ื ืงืฆื™ื•ืช Enterprise","items":[{"type":"function","name":"nextsequencevalue","bundle":"database","sinceVersion":"1.4","link":"https://developers.arcgis.com/arcade/function-reference/enterprise_functions/#nextsequencevalue","description":"ืžื—ื–ื™ืจ ืืช ื”ืขืจืš ื”ื‘ื ื‘ืจืฆืฃ ืžืชื•ืš ื”ืจืฆืฃ ื‘ืžืกื“ ื”ื ืชื•ื ื™ื ืฉืฆื•ื™ืŸ. ืื inputSequenceName ืœื ืงื™ื™ื, ื”ื‘ื™ื˜ื•ื™ ื™ืคื™ืง ืฉื’ื™ืื”.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืžืกืคืจ ืขื ื”ืขืจืš ื”ื‘ื ื‘ืจืฆืฃ\n\n```arcade\nNextSequenceValue('PipeIDSeq')\n```\n\n","completion":{"label":"NextSequenceValue","detail":"NextSequenceValue(sequenceName) -> Number","insertText":"NextSequenceValue(${1:sequenceName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.4](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ืขืจืš ื”ื‘ื ื‘ืจืฆืฃ ืžืชื•ืš ื”ืจืฆืฃ ื‘ืžืกื“ ื”ื ืชื•ื ื™ื ืฉืฆื•ื™ืŸ. ืื inputSequenceName ืœื ืงื™ื™ื, ื”ื‘ื™ื˜ื•ื™ ื™ืคื™ืง ืฉื’ื™ืื”.\n\n**ืคืจืžื˜ืจ**\n\n- **sequenceName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืจืฆืฃ. ืขืจืš ื–ื” ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžื•ื’ื“ืจ ืžืจืืฉ ื‘ืžืกื“ ื”ื ืชื•ื ื™ื.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":1,"max":1}}]},{"id":"featureset_functions","title":"ืคื•ื ืงืฆื™ื•ืช FeatureSet","items":[{"type":"function","name":"area","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area","description":"ืžื—ื–ื™ืจ ืืช ื”ืฉื˜ื— ืฉืœ FeatureSet ื”ืงืœื˜ ื‘ื™ื—ื™ื“ื•ืช ืฉืฆื•ื™ื ื•. ื–ื•ื”ื™ ืžื“ื™ื“ื” ืžื™ืฉื•ืจื™ืช ื‘ืืžืฆืขื•ืช ืžืชืžื˜ื™ืงื” ืงืจื˜ื–ื™ืื ื™ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืฉื˜ื— ื”ืฉื›ื‘ื” ื‘ืงื™ืœื•ืžื˜ืจื™ื ืจื‘ื•ืขื™ื\n\n```arcade\nArea($layer, 'square-kilometers')\n```\n\n","completion":{"label":"Area","detail":"Area(features, unit?) -> Number","insertText":"Area(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ืฉื˜ื— ืฉืœ FeatureSet ื”ืงืœื˜ ื‘ื™ื—ื™ื“ื•ืช ืฉืฆื•ื™ื ื•. ื–ื•ื”ื™ ืžื“ื™ื“ื” ืžื™ืฉื•ืจื™ืช ื‘ืืžืฆืขื•ืช ืžืชืžื˜ื™ืงื” ืงืจื˜ื–ื™ืื ื™ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”-FeatureSet ืฉืขื‘ื•ืจื• ื™ื—ื•ืฉื‘ ื”ืฉื˜ื— ื”ืžื™ืฉื•ืจื™.\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื™ื—ื™ื“ืช ืžื“ื™ื“ื” ืฉืœ ื”ืขืจืš ื”ืžื•ื—ื–ืจ. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืžื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื ืœื”ืœืŸ, ืื• ืื—ื“ ืžื”ืงื•ื“ื™ื ื”ืžืกืคืจื™ื™ื ืฉืžืคื•ืจื˜ื™ื ื‘ืกืขื™ืฃ ื”ืžืฉืื‘ื™ื ื”ื ื•ืกืคื ืœื”ืœืŸ. ืขื‘ื•ืจ ื”ืฆื’ื” ื—ื–ื•ืชื™ืช, ืชื™ื•ื’ ื•ืคืจื•ืคื™ืœื™ื ื‘ื—ืœื•ืŸ ืงื•ืคืฅ, ื™ื—ื™ื“ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ื™ื™ื—ื•ืก ื”ืžืจื—ื‘ื™ ืฉืœ ื”ืžืคื”. ื‘ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ื™ืฉื•ื‘ ืฉื“ื”, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžื‘ื•ืกืกืช ืขืœ ื”ื™ื™ื—ื•ืก ื”ืžืจื—ื‘ื™ ืฉืœ ื”ื ืชื•ื ื™ื. \nื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื: `ืืงืจื™ื` | `ื”ืงื˜ืจื™ื` | `ืกื ื˜ื™ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ื“ืฆื™ืžื˜ืจื™ื ืจื‘ื•ืขื™ื` | `ืจื’ืœ-ืจื‘ื•ืข` | `ืื™ื ืฆ'ื™ื-ืจื‘ื•ืขื™ื` | `ืงื™ืœื•ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืžื™ื™ืœื™ื-ืจื‘ื•ืขื™ื` | `ืžื™ืœื™ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืจื’ืœ-ืจื‘ื•ืข-ืืจื”\"ื‘` | `ืžื™ื™ืœื™ื-ืจื‘ื•ืขื™ื-ืืจื”\"ื‘` | `ื™ืืจื“ื™ื-ืจื‘ื•ืขื™ื` \n\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**ืžืฉืื‘ื™ื ื ื•ืกืคื™ื**\n\n* [AreaGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"areageodetic","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic","description":"ืžื—ื–ื™ืจ ืืช ื”ืฉื˜ื— ื”ื’ื™ืื•ื“ื˜ื™ ืฉืœ FeatureSet ื”ืงืœื˜ ื‘ื™ื—ื™ื“ื•ืช ืฉืฆื•ื™ื ื•. ื–ื•ื”ื™ ืžื“ื™ื“ื” ืืžื™ื ื” ื™ื•ืชืจ ืฉืœ ืฉื˜ื— ืœืขื•ืžืช `Area()` ืฉื›ืŸ ื”ื™ื ืžืชื—ืฉื‘ืช ื‘ืขืงื•ืžื” ืฉืœ ื›ื“ื•ืจ ื”ืืจืฅ.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ื”ืฉื˜ื— ื”ื’ื™ืื•ื“ื–ื™ ืฉืœ ื”ืฉื›ื‘ื” ื‘ืงื™ืœื•ืžื˜ืจื™ื ืจื‘ื•ืขื™ื\n\n```arcade\nAreaGeodetic($layer, 'square-kilometers')\n```\n\n","completion":{"label":"AreaGeodetic","detail":"AreaGeodetic(features, unit?) -> Number","insertText":"AreaGeodetic(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ืฉื˜ื— ื”ื’ื™ืื•ื“ื˜ื™ ืฉืœ FeatureSet ื”ืงืœื˜ ื‘ื™ื—ื™ื“ื•ืช ืฉืฆื•ื™ื ื•. ื–ื•ื”ื™ ืžื“ื™ื“ื” ืืžื™ื ื” ื™ื•ืชืจ ืฉืœ ืฉื˜ื— ืœืขื•ืžืช `Area()` ืฉื›ืŸ ื”ื™ื ืžืชื—ืฉื‘ืช ื‘ืขืงื•ืžื” ืฉืœ ื›ื“ื•ืจ ื”ืืจืฅ.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”-FeatureSet ืฉืขื‘ื•ืจื• ื™ื—ื•ืฉื‘ ื”ืฉื˜ื— ื”ื’ื™ืื•ื“ื–ื™.\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื™ื—ื™ื“ืช ืžื“ื™ื“ื” ืฉืœ ื”ืขืจืš ื”ืžื•ื—ื–ืจ. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืžื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื ืœื”ืœืŸ, ืื• ืื—ื“ ืžื”ืงื•ื“ื™ื ื”ืžืกืคืจื™ื™ื ืฉืžืคื•ืจื˜ื™ื ื‘ืกืขื™ืฃ ื”ืžืฉืื‘ื™ื ื”ื ื•ืกืคื ืœื”ืœืŸ. ืขื‘ื•ืจ ื”ืฆื’ื” ื—ื–ื•ืชื™ืช, ืชื™ื•ื’ ื•ืคืจื•ืคื™ืœื™ื ื‘ื—ืœื•ืŸ ืงื•ืคืฅ, ื™ื—ื™ื“ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ื™ื™ื—ื•ืก ื”ืžืจื—ื‘ื™ ืฉืœ ื”ืžืคื”. ื‘ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ื™ืฉื•ื‘ ืฉื“ื”, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžื‘ื•ืกืกืช ืขืœ ื”ื™ื™ื—ื•ืก ื”ืžืจื—ื‘ื™ ืฉืœ ื”ื ืชื•ื ื™ื. \nื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื: `ืืงืจื™ื` | `ื”ืงื˜ืจื™ื` | `ืกื ื˜ื™ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ื“ืฆื™ืžื˜ืจื™ื ืจื‘ื•ืขื™ื` | `ืจื’ืœ-ืจื‘ื•ืข` | `ืื™ื ืฆ'ื™ื-ืจื‘ื•ืขื™ื` | `ืงื™ืœื•ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืžื™ื™ืœื™ื-ืจื‘ื•ืขื™ื` | `ืžื™ืœื™ืžื˜ืจื™ื-ืจื‘ื•ืขื™ื` | `ืจื’ืœ-ืจื‘ื•ืข-ืืจื”\"ื‘` | `ืžื™ื™ืœื™ื-ืจื‘ื•ืขื™ื-ืืจื”\"ื‘` | `ื™ืืจื“ื™ื-ืจื‘ื•ืขื™ื` \n\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**ืžืฉืื‘ื™ื ื ื•ืกืคื™ื**\n\n* [Area()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"attachments","bundle":"data-access","sinceVersion":"1.6","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#attachments","description":"ืžื—ื–ื™ืจ ืจืฉื™ืžืช ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื ืฉืงืฉื•ืจื™ื ืœื™ืฉื•ืช ื”ืงืœื˜. ื›ืœ ืชื•ืฆืื” ืžื›ื™ืœื” ืืช ืฉื ื”ืงื•ื‘ืฅ ื”ืžืฆื•ืจืฃ, ืกื•ื’ ื”ืชื•ื›ืŸ, ื”ืžื–ื”ื” ื•ื”ื’ื•ื“ืœ ื‘ื‘ื™ื˜ื™ื. ื™ืฉื™ื ืจืง ืœื™ืฉื•ื™ื•ืช ืฉื”ื’ื™ืขื• ืžืฉื™ืจื•ืช ื™ืฉื•ื™ื•ืช.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ืงื‘ืฆื™ื ื”ืžืฆื•ืจืคื™ื ืฉืงืฉื•ืจื™ื ืœื™ืฉื•ืช.\n\n```arcade\n// Returns the number of attachments associated with the feature\nCount(Attachments($feature))\n```\n\n","completion":{"label":"Attachments","detail":"Attachments(inputFeature, options?) -> Array<Attachment>","insertText":"Attachments(${1:inputFeature_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.6](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืจืฉื™ืžืช ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื ืฉืงืฉื•ืจื™ื ืœื™ืฉื•ืช ื”ืงืœื˜. ื›ืœ ืชื•ืฆืื” ืžื›ื™ืœื” ืืช ืฉื ื”ืงื•ื‘ืฅ ื”ืžืฆื•ืจืฃ, ืกื•ื’ ื”ืชื•ื›ืŸ, ื”ืžื–ื”ื” ื•ื”ื’ื•ื“ืœ ื‘ื‘ื™ื˜ื™ื. ื™ืฉื™ื ืจืง ืœื™ืฉื•ื™ื•ืช ืฉื”ื’ื™ืขื• ืžืฉื™ืจื•ืช ื™ืฉื•ื™ื•ืช.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื ืฉืงืฉื•ืจื™ื ืœื™ืฉื•ืช ื™ื™ืฉืœืคื• ืžื”ืฉื™ืจื•ืช.\n- **options** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ื”ื’ื“ืจื•ืช ืขื‘ื•ืจ ื”ื‘ืงืฉื”. ืืคื™ื™ื ื™ ืžื™ืœื•ืŸ:\n\n - **types**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ืžืขืจืš ืฉืœ ืขืจื›ื™ ื˜ืงืกื˜ ื”ืžื™ื™ืฆื’ื™ื ืืช ืกื•ื’ื™ ื”ืงื‘ืฆื™ื ืฉื™ืฉ ืœืื—ื–ืจ. \nื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื: bmpโ€, ecwโ€, emfโ€, epsโ€, psโ€, gifโ€, imgโ€, jp2โ€, jpcโ€, j2kโ€, jpfโ€, jpgโ€, jpegโ€, jpeโ€, pngโ€, psdโ€, rawโ€, sidโ€, tif, tiffโ€, wmfโ€, wpsโ€, aviโ€, mpgโ€, mpeโ€, mpegโ€, movโ€, wmvโ€, aifโ€, midโ€, rmiโ€, mp2โ€, mp3โ€, mp4โ€, pmaโ€, mpv2โ€, qtโ€, ra, ramโ€, wavโ€, wmaโ€, docโ€, docxโ€, dotโ€, xlsโ€, xlsxโ€, xltโ€, pdfโ€, pptโ€, pptxโ€, txtโ€, zipโ€, 7zโ€, gzโ€, gtarโ€, tarโ€, tgz, vrmlโ€, gmlโ€, jsonโ€, xmlโ€, mdbโ€, geodatabase\n - **minsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื”ื’ื•ื“ืœ ื”ืžื™ื ื™ืžืœื™ ืฉืœ ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื, ื‘ื‘ืชื™ื.\n - **maxsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื”ื’ื•ื“ืœ ื”ืžืงืกื™ืžืœื™ ืฉืœ ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื, ื‘ื‘ืชื™ื.\n - **metadata** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ืžืฆื™ื™ืŸ ืื ืœื›ืœื•ืœ ื ืชื•ื ื™ ืžื˜ื”-ื“ืื˜ื” ืฉืœ ืงื‘ืฆื™ื ืžืฆื•ืจืคื™ื ื‘ื”ื—ื–ืจืช ื”ืคื•ื ืงืฆื™ื”. ื ื›ื•ืŸ ืœืขื›ืฉื™ื• ื™ืฉ ืชืžื™ื›ื” ืจืง ื‘ืžื˜ื”-ื“ืื˜ื” ืžืกื•ื’ Exif ืขื‘ื•ืจ ืชืžื•ื ื•ืช.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment)&gt;"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"average","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#average","description":"ื”ื—ื–ืจืช ืขืจืš ื”ืžืžื•ืฆืข ืฉืœ ืฉื“ื” ืžืกืคืจื™ ื ืชื•ืŸ ื‘-FeatureSet.","examples":"\n**ื“ื•ื’ืžืื•ืช**\n\nืžื—ืฉื‘ ืืช ื”ื”ืคืจืฉ ื‘ื™ืŸ ื”ืื•ื›ืœื•ืกื™ื™ื” ืฉืœ ื”ื™ืฉื•ืช ืœื‘ื™ืŸ ื”ืื•ื›ืœื•ืกื™ื™ื” ื”ืžืžื•ืฆืขืช ืฉืœ ื›ืœ ื”ื™ืฉื•ื™ื•ืช ื‘ืฉื›ื‘ื”\n\n```arcade\n$feature.population - Average($layer, 'population')\n```\n\nืžื—ืฉื‘ ืืช ื”ืื•ื›ืœื•ืกื™ื™ื” ื”ืžืžื•ืฆืขืช ื‘ื›ืœ ืžื™ื™ืœ ืจื‘ื•ืข ืฉืœ ื›ืœ ื”ื™ืฉื•ื™ื•ืช ื‘ืฉื›ื‘ื”\n\n```arcade\nAverage($layer, 'population / area')\n```\n\n","completion":{"label":"Average","detail":"Average(features, fieldNameOrSQLExpression) -> Number","insertText":"Average(${1:features_}, ${2:fieldNameOrSQLExpression_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื”ื—ื–ืจืช ืขืจืš ื”ืžืžื•ืฆืข ืฉืœ ืฉื“ื” ืžืกืคืจื™ ื ืชื•ืŸ ื‘-FeatureSet.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet ืฉืขืœื™ื• ืชื‘ื•ืฆืข ื”ืคืขื•ืœื”.\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืฉื“ื” ืžืกืคืจื™ ืื• ื‘ื™ื˜ื•ื™ SQL92 ืฉืขื‘ื•ืจื• ื™ื—ื•ืฉื‘ ื ืชื•ืŸ ืกื˜ื˜ื™ืกื˜ื™ ืžืชื•ืš ื”-FeatureSet ืฉืœ ื”ืงืœื˜.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"contains","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#contains","description":"ืžื—ื–ื™ืจื” ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื ื›ืœืœื•ืช ื‘ื’ื™ืื•ืžื˜ืจื™ื™ืช ื”ืงืœื˜. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n**ื™ืฉ ืœื–ื›ื•ืจ ืฉืฉื™ืžื•ืฉ ื‘-`$feature`โ€Ž ื‘ืชื•ืจ ืงืœื˜ ื™ื‘ื™ื ืœืชื•ืฆืื•ืช ื‘ืจืžืช ื“ื™ื•ืง ื“ื•ืžื” ืœื–ื• ืฉืœ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”. ื›ืœื•ืžืจ, ื”ืขืจื›ื™ื ืฉืžื•ื—ื–ืจื™ื ืžื‘ื™ื˜ื•ื™ื™ื ื‘ืืžืฆืขื•ืช ืคื•ื ืงืฆื™ื” ื–ื• ืขืฉื•ื™ื™ื ืœื”ืฉืชื ื•ืช ื‘ืขืงื‘ื•ืช ืฉื™ื ื•ื™ ืžืจื—ืง ื”ืชืฆื•ื’ื”.**","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ืฉื‘ืชื•ืš ื”ืคื•ืœื™ื’ื•ืŸ ื”ื ืชื•ืŸ\n\n```arcade\nvar parcels = FeatureSetByName($map, 'parcels')\nvar projectArea = $feature;\nCount(Contains(projectArea, parcels));\n```\n\n","completion":{"label":"Contains","detail":"Contains(containerGeometry, insideFeatures) -> FeatureSet","insertText":"Contains(${1:containerGeometry_}, ${2:insideFeatures_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจื” ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื ื›ืœืœื•ืช ื‘ื’ื™ืื•ืžื˜ืจื™ื™ืช ื”ืงืœื˜. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n**ื™ืฉ ืœื–ื›ื•ืจ ืฉืฉื™ืžื•ืฉ ื‘-`$feature`โ€Ž ื‘ืชื•ืจ ืงืœื˜ ื™ื‘ื™ื ืœืชื•ืฆืื•ืช ื‘ืจืžืช ื“ื™ื•ืง ื“ื•ืžื” ืœื–ื• ืฉืœ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”. ื›ืœื•ืžืจ, ื”ืขืจื›ื™ื ืฉืžื•ื—ื–ืจื™ื ืžื‘ื™ื˜ื•ื™ื™ื ื‘ืืžืฆืขื•ืช ืคื•ื ืงืฆื™ื” ื–ื• ืขืฉื•ื™ื™ื ืœื”ืฉืชื ื•ืช ื‘ืขืงื‘ื•ืช ืฉื™ื ื•ื™ ืžืจื—ืง ื”ืชืฆื•ื’ื”.**\n\n**ืคืจืžื˜ืจื™ื**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ื”ื’ื™ืื•ืžื˜ืจื™ื” ืฉื ื‘ื“ืงืช ืขื‘ื•ืจ ื”ื™ื—ืก ื‘ื™ืŸ 'contains' ื•-'insideFeatures'. ื—ืฉื•ื‘ ืขืœ ื”ื’ื™ืื•ืžื˜ืจื™ื” ื”ื–ื• ื›ืขืœ ื”-'container' ื”ืคื•ื˜ื ืฆื™ืืœื™ ืฉืœ 'insideFeatures'.\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”-FeatureSet ืฉื ื‘ื“ืง ืขื‘ื•ืจ ื”ื™ื—ืก ื‘ื™ืŸ 'within' ื•-'containerGeometry'.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"count","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#count","description":"ืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘- FeatureSet.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘ืฉื›ื‘ื”\n\n```arcade\nCount($layer)\n```\n\n","completion":{"label":"Count","detail":"Count(features) -> Number","insertText":"Count(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘- FeatureSet.\n\n**ืคืจืžื˜ืจ**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet ืฉื‘ื• ื™ืฉ ืœืกืคื•ืจ ืืช ื”ื™ืฉื•ื™ื•ืช.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"crosses","bundle":"data-access","sinceVersion":"1.3","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#crosses","description":"ืžื—ื–ื™ืจื” ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื—ื•ืฆื•ืช ืืช ื’ื™ืื•ืžื˜ืจื™ื™ืช ื”ืงืœื˜. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘- FeatureSet, ืืฉืจ ื—ื•ืฆื•ืช ืืช ื”ืคื•ืœื™ื’ื•ืŸ ื”ื ืชื•ืŸ\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( Crosses($layer, geom2) );\n```\n\n","completion":{"label":"Crosses","detail":"Crosses(features, crossingGeometry) -> FeatureSet","insertText":"Crosses(${1:features_}, ${2:crossingGeometry_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจื” ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื—ื•ืฆื•ืช ืืช ื’ื™ืื•ืžื˜ืจื™ื™ืช ื”ืงืœื˜. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”ื™ืฉื•ื™ื•ืช ืœื‘ื“ื™ืงืช ืงืฉืจ ื”ื—ืฆื™ื™ื” ืขื 'crossingGeometry' ืฉืœ ื”ืงืœื˜.\n- **crossingGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ื”ื’ื™ืื•ืžื˜ืจื™ื” ื”ื ื—ืฆื™ืช.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"distinct","bundle":"data-access","sinceVersion":"1.8","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#distinct","description":"ืžื—ื–ื™ืจ ืงื‘ื•ืฆื” ืฉืœ ืขืจื›ื™ื ื™ื™ื—ื•ื“ื™ื™ื ืž-FeatureSet.","examples":"\n**ื“ื•ื’ืžืื•ืช**\n\nืžื—ื–ื™ืจ FeatureSet ืขื ืขืžื•ื“ืช 'ืกื˜ื˜ื•ืก'. ื›ืœ ืฉื•ืจื” ืฉืœ FeatureSet ืžื›ื™ืœื” ืขืจืš ืกื˜ื˜ื•ืก ื™ื™ื—ื•ื“ื™\n\n```arcade\nDistinct($layer, 'Status')\n```\n\nืžื—ื–ื™ืจ FeatureSet ืขื ืขืžื•ื“ืช 'ืกื˜ื˜ื•ืก' ื•'ืกื•ื’'. ื›ืœ ืฉื•ืจื” ืฉืœ ื”-FeatureSet ืžื›ื™ืœื” ืฉื™ืœื•ื‘ ื™ื™ื—ื•ื“ื™ ืฉืœ ืขืจื›ื™ 'ืกื˜ื˜ื•ืก' ื•'ืกื•ื’'\n\n```arcade\nDistinct($layer, ['Status', 'Type'])\n```\n\nืžื—ื–ื™ืจ FeatureSet ืขื ืขืžื•ื“ืช 'ืฆืคื™ืคื•ืช' ืขื ืฉื•ืจื•ืช ืฉืขืฉื•ื™ื•ืช ืœื”ื›ื™ืœ ืขืจื›ื™ื ืฉืœ 'ื ืžื•ืš', 'ื’ื‘ื•ื”' ืื• 'N/A'\n\n```arcade\nDistinct($layer, {\n name: \"Density\",\n expression: \"CASE WHEN PopDensity < 100 THEN 'Low' WHEN PopDensity >= 100 THEN 'High' ELSE 'N/A' END\"\n})\n```\n\nืžื—ื–ื™ืจ FeatureSet ืขื ืขืžื•ื“ืช 'ืฆื™ื•ืŸ' ื•'ืกื•ื’'\n\n```arcade\nDistinct($layer, [{\n name: 'Score',\n expression: 'POPULATION_DENSITY * 0.65 + Status_Code * 0.35'\n}, {\n name: 'Type',\n expression: 'Category'\n}])\n```\n\n","completion":{"label":"Distinct","detail":"Distinct(features, fields) -> FeatureSet","insertText":"Distinct(${1:features_}, ${2:fields_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืงื‘ื•ืฆื” ืฉืœ ืขืจื›ื™ื ื™ื™ื—ื•ื“ื™ื™ื ืž-FeatureSet.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet ืžืžื ื• ื™ื•ื—ื–ืจื• ืขืจื›ื™ื ื™ื™ื—ื•ื“ื™ื™ื.\n- **fields**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)&gt; - ื”ืฉื“ื”/ื•ืช ื•/ืื• ื”ื‘ื™ื˜ื•ื™/ื™ื ืฉืžื”ื ื™ืฉ ืœืงื‘ื•ืข ืขืจื›ื™ื ื™ื™ื—ื•ื“ื™ื™ื. ืคืจืžื˜ืจ ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžืขืจืš ืฉืœ ืฉืžื•ืช ืฉื“ื•ืช, ืžืขืจืš ื‘ื™ื˜ื•ื™ื™ื ืื• ืžื™ืœื•ืŸ ืื• ืžืขืจืš ืžื™ืœื•ื ื™ื ืฉืžืฆื™ื™ื ื™ื ืฉืžื•ืช ืขืžื•ื“ื•ืช ืคืœื˜ ืฉื‘ื”ืŸ ืขืจื›ื™ื ื™ื™ื—ื•ื“ื™ื™ื ื™ืื•ื—ืกื ื•. ืื ืฆื•ื™ืŸ ืžื™ืœื•ืŸ, ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืžืคืจื˜ ื”ื‘ื:\n\n - **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืขืžื•ื“ื” ืœืื—ืกื•ืŸ ื”ืชื•ืฆืื” ืฉืœ ื‘ื™ื˜ื•ื™ ื ืชื•ืŸ.\n - **expression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื‘ื™ื˜ื•ื™ SQL-92 ืœื—ื™ืฉื•ื‘ ืขืจืš ื™ื™ื—ื•ื“ื™ ืžืžื ื•.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"domain","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domain","description":"ืžื—ื–ื™ืจ ืืช ื”ื“ื•ืžื™ื™ืŸ ืฉื”ื•ืงืฆื” ืœืฉื“ื” ื ืชื•ืŸ ืฉืœ 'featureSet' ืฉืฆื•ื™ืŸ. ืื ื”-'featureSet' ืฉื™ื™ืš ืœืงื‘ื•ืฆื” ื‘ืขืœืช ืกื•ื’ ืžืฉื ื”, ืžื—ื–ื™ืจ ืืช ื”ื“ื•ืžื™ื™ืŸ ืฉื”ื•ืงืฆื” ืœืกื•ื’ ื”ืžืฉื ื”.","examples":"\n**ื“ื•ื’ืžื”**\n\nื”ื“ื•ืžื™ื™ืŸ ืฉื”ื•ืงืฆื” ืœืกื•ื’ ื”ืžืฉื ื” ืฉืœ ื”ื™ืฉื•ืช\n\n```arcade\nvar fsPole = FeatureSetByName($layer, \"Pole\", 1);\nvar d = Domain(fsPole, \"poleType\")\n// the poleType field has a coded value domain called poleTypes\n// the value of d will be\n// {\n// type: \"codedValue\" ,\n// name: \"poleTypesThreePhase\",\n// dataType: \"number\",\n// codedValues: [\n// { name: \"Unknown\", code: 0 },\n// { name: \"Wood\", code: 1 },\n// { name: \"Steel\", code: 2 }\n// { name: \"Reinforced Steel\", code: 3 }\n// ]\n// }\n```\n\n","completion":{"label":"Domain","detail":"Domain(features, fieldName, subtype?) -> Dictionary","insertText":"Domain(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ื“ื•ืžื™ื™ืŸ ืฉื”ื•ืงืฆื” ืœืฉื“ื” ื ืชื•ืŸ ืฉืœ 'featureSet' ืฉืฆื•ื™ืŸ. ืื ื”-'featureSet' ืฉื™ื™ืš ืœืงื‘ื•ืฆื” ื‘ืขืœืช ืกื•ื’ ืžืฉื ื”, ืžื—ื–ื™ืจ ืืช ื”ื“ื•ืžื™ื™ืŸ ืฉื”ื•ืงืฆื” ืœืกื•ื’ ื”ืžืฉื ื”.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”-featureSet ืฉื”ื™ืฉื•ื™ื•ืช ืฉืœื• ืžื›ื™ืœื•ืช ืฉื“ื” ืฉืžื›ื™ืœ ื“ื•ืžื™ื™ืŸ.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืฉื“ื” (ืœื ื›ื™ื ื•ื™ ื”ืฉื“ื”) ื”ืžื›ื™ืœ ืืช ื”ื“ื•ืžื™ื™ืŸ.\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื”ืขืจืš ื”ืžืงื•ื“ื“ ืฉืœ ืกื•ื’ ื”ืžืฉื ื”, ืื ื”ื™ืฉื•ืช ืชื•ืžื›ืช ื‘ืกื•ื’ื™ ืžืฉื ื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nืžื—ื–ื™ืจ ืžื™ืœื•ืŸ ื”ืžืชื•ืืจ ืขืœ-ื™ื“ื™ ื”ืžืืคื™ื™ื ื™ื ืœื”ืœืŸ.\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืกื•ื’ ื”ื“ื•ืžื™ื™ืŸ - 'codedValue' ืื• 'ื˜ื•ื•ื—'.\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ื“ื•ืžื™ื™ืŸ.\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืกื•ื’ ื”ื ืชื•ื ื™ื ืฉืœ ืฉื“ื” ื”ื“ื•ืžื™ื™ืŸ. ื”ื•ื ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืžื”ืขืจื›ื™ื ื”ื‘ืื™ื: `esriFieldTypeSmallInteger`, `esriFieldTypeInteger`, `esriFieldTypeBigInteger`, `esriFieldTypeSingle`, `esriFieldTypeDouble`, esriFieldTypeStringโ€, esriFieldTypeDateโ€โ€, esriFieldTypeOIDโ€, esriFieldTypeGeometryโ€, esriFieldTypeBlob, esriFieldTypeRasterโ€, esriFieldTypeGUIDโ€, esriFieldTypeGlobalIDโ€, esriFieldTypeXML.\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ืชืงืฃ ืœื’ื‘ื™ ื“ื•ืžื™ื™ื ื™ื ืžืกื•ื’ 'ื˜ื•ื•ื—' ื‘ืœื‘ื“. ื”ืขืจืš ื”ืžื™ื ื™ืžืœื™ ืฉืœ ื”ื“ื•ืžื™ื™ืŸ.\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ืชืงืฃ ืœื’ื‘ื™ ื“ื•ืžื™ื™ื ื™ื ืžืกื•ื’ 'ื˜ื•ื•ื—' ื‘ืœื‘ื“. ื”ืขืจืš ื”ืžืงืกื™ืžืœื™ ืฉืœ ื”ื“ื•ืžื™ื™ืŸ.\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)&gt; - ืชืงืฃ ืœื’ื‘ื™ ื“ื•ืžื™ื™ื ื™ื ืžืกื•ื’ 'codedValue' ื‘ืœื‘ื“. ืžืขืจืš ืฉืœ ืžื™ืœื•ื ื™ื ื”ืžืชืืจื™ื ืืช ื”ืขืจื›ื™ื ื”ื—ื•ืงื™ื™ื ืฉืœ ื”ืฉื“ื”. ื›ืœ ืžื™ืœื•ืŸ ื›ื•ืœืœ ืžืืคื™ื™ืŸ 'ืงื•ื“', ื”ืžื›ื™ืœ ืืช ืขืจืš ื”ืฉื“ื” ื‘ืคื•ืขืœ, ื•ืžืืคื™ื™ืŸ 'ืฉื' ื”ืžื›ื™ืœ ืชื™ืื•ืจ ื™ื“ื™ื“ื•ืชื™ ืฉืœ ื”ืขืจืš (ื›ื’ื•ืŸ '{ code: 1, name: \\\"pavement\\\" }')"}},"parametersInfo":{"min":2,"max":3}},{"type":"function","name":"domaincode","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domaincode","description":"ืžื—ื–ื™ืจ ืืช ื”ืงื•ื“ ืœืชื™ืื•ืจ ื“ื•ืžื™ื™ืŸ ืžืฉื•ื™ืš ื‘-FeatureSet.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื“ืคื™ืก ืืช ืชื™ืื•ืจ ื”ื“ื•ืžื™ื™ืŸ ืขื‘ื•ืจ ืฉื“ื” ื”ื™ื™ื—ื•ืก.\n\n```arcade\nDomainCode($layer, 'Enabled', 'True', subtype)\n```\n\n","completion":{"label":"DomainCode","detail":"DomainCode(features, fieldName, value, subtype?) -> Number,Text","insertText":"DomainCode(${1:features_}, ${2:fieldName_}, ${3:value_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ืงื•ื“ ืœืชื™ืื•ืจ ื“ื•ืžื™ื™ืŸ ืžืฉื•ื™ืš ื‘-FeatureSet.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ืกื˜ ื”ื™ืฉื•ื™ื•ืช ืขื ืฉื“ื” ืฉื›ื•ืœืœ ื“ื•ืžื™ื™ืŸ.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืฉื“ื” (ืœื ื›ื™ื ื•ื™ ื”ืฉื“ื”) ื”ืžื›ื™ืœ ืืช ื”ื“ื•ืžื™ื™ืŸ.\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”ืขืจืš ืฉื™ืฉ ืœื”ืžื™ืจ ื—ื–ืจื” ืœืงื•ื“. ื”ืงื•ื“ ื”ืžื•ื—ื–ืจ ืžื’ื™ืข ืžื”ืžื˜ื”-ื“ืื˜ื” ืฉืœ ื”ืฉื™ืจื•ืช.\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”ืžืกืคืจ ื”ืžืงื•ื“ื“ ืื• ื”ืฉื ืฉืœ ืกื•ื’ ื”ืžืฉื ื”, ืื ืกื˜ ื”ื™ืฉื•ื™ื•ืช ืชื•ืžืš ื‘ืกื•ื’ื™ ืžืฉื ื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":3,"max":4}},{"type":"function","name":"domainname","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domainname","description":"ืžื—ื–ื™ืจ ืืช ื”ืฉื ื”ืชื™ืื•ืจื™ ืขื‘ื•ืจ ืงื•ื“ ื“ื•ืžื™ื™ืŸ ื‘-FeatureSet.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื“ืคื™ืก ืืช ืชื™ืื•ืจ ื”ื“ื•ืžื™ื™ืŸ ืขื‘ื•ืจ ืฉื“ื” ื”ื™ื™ื—ื•ืก\n\n```arcade\nDomainName($layer, 'fieldName')\n```\n\n","completion":{"label":"DomainName","detail":"DomainName(features, fieldName, code?, subtype?) -> Text","insertText":"DomainName(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื”ืฉื ื”ืชื™ืื•ืจื™ ืขื‘ื•ืจ ืงื•ื“ ื“ื•ืžื™ื™ืŸ ื‘-FeatureSet.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - featureSet ืขื ืฉื“ื” ืฉืžื›ื™ืœ ื“ื•ืžื™ื™ืŸ.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืฉื“ื” (ืœื ื›ื™ื ื•ื™ ื”ืฉื“ื”) ื”ืžื›ื™ืœ ืืช ื”ื“ื•ืžื™ื™ืŸ.\n- **code** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”ืงื•ื“ ื”ืžืฉื•ื™ืš ืœืฉื ื”ืชื™ืื•ืจื™ ื”ืจืฆื•ื™. ื”ืงื•ื“ ื”ืžื•ื—ื–ืจ ืžื’ื™ืข ืžื”ืžื˜ื”-ื“ืื˜ื” ืฉืœ ื”ืฉื™ืจื•ืช.\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”ืžืกืคืจ ื”ืžืงื•ื“ื“ ืื• ื”ืฉื ืฉืœ ืกื•ื’ ื”ืžืฉื ื”, ืื ื”-FeatureSet ืชื•ืžืš ื‘ืกื•ื’ื™ ืžืฉื ื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"envelopeintersects","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#envelopeintersects","description":"ืžื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื‘ื• ื”ืžืขื˜ืคื•ืช (ืื• ื”ืชื™ื—ื•ื) ืฉืœ ืกื˜ ื™ืฉื•ื™ื•ืช ืžืฆื˜ืœื‘ื•ืช ืขื ื”ืžืขื˜ืคืช ืฉืœ ื’ื™ืื•ืžื˜ืจื™ื” ืื—ืจืช. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ืฉืžืฆื˜ืœื‘ื•ืช ืขื ื”ืžืขื˜ืคืช ืฉืœ geom2\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( EnvelopeIntersects($layer, geom2) );\n```\n\n","completion":{"label":"EnvelopeIntersects","detail":"EnvelopeIntersects(features, envelope) -> FeatureSet","insertText":"EnvelopeIntersects(${1:features_}, ${2:envelope_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช ืžืชื•ืš FeatureSet ืฉื‘ื• ื”ืžืขื˜ืคื•ืช (ืื• ื”ืชื™ื—ื•ื) ืฉืœ ืกื˜ ื™ืฉื•ื™ื•ืช ืžืฆื˜ืœื‘ื•ืช ืขื ื”ืžืขื˜ืคืช ืฉืœ ื’ื™ืื•ืžื˜ืจื™ื” ืื—ืจืช. ื‘ื’ืจืคื™ืงื” ืœื”ืœืŸ, ื”ื”ื“ื’ืฉื” ื‘ืื“ื•ื ืžืชืืจืช ืืช ื”ืงืฉืจื™ื ื”ืžืจื—ื‘ื™ื™ื ืฉื‘ื”ื ื”ืคื•ื ืงืฆื™ื” ืชื—ื–ื™ืจ ื™ืฉื•ื™ื•ืช.\n\n_ื”ื’ื™ืื•ืžื˜ืจื™ื•ืช ืฉืœ ื™ืฉื•ื™ื•ืช ื‘ื”ืฆื’ื” ื”ื—ื–ื•ืชื™ืช ื•ื‘ืคืจื•ืคื™ืœื™ ื”ืชื•ื•ื™ื•ืช ืขื•ื‘ืจื•ืช ื”ื›ืœืœื” ืœืคื™ ื”ืจื–ื•ืœื•ืฆื™ื” ื•ืงื ื” ื”ืžื™ื“ื” ืฉืœ ื”ืชืฆื•ื’ื”, ืœืฉื™ืคื•ืจ ื‘ื™ืฆื•ืขื™ ื”ืฉืจื˜ื•ื˜. ืœื›ืŸ, ื”ืฉื™ืžื•ืฉ ื‘ื’ื™ืื•ืžื˜ืจื™ื” ืฉืœ ื™ืฉื•ืช (ื›ืœื•ืžืจ โ€Ž$feature) ื‘ืชื•ืจ ืงืœื˜ ืœืคื•ื ืงืฆื™ื” ื’ื™ืื•ืžื˜ืจื™ืช ื‘ื”ืงืฉืจื™ื ืืœื” ื™ื—ื–ื™ืจ ืชื•ืฆืื•ืช ืฉื•ื ื•ืช ื‘ื›ืœ ืจืžืช ืงื ื” ืžื™ื“ื”. ืคืจื•ืคื™ืœื™ื ืื—ืจื™ื, ื›ื’ื•ืŸ ื—ืœื•ืŸ ืงื•ืคืฅ, ืžืกืคืงื™ื ื’ื™ืื•ืžื˜ืจื™ื™ืช ืจื–ื•ืœื•ืฆื™ื” ืžืœืื”._\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ื”-FeatureSet ืฉื ื‘ื“ืง ืœื–ื™ื”ื•ื™ ื™ื—ืกื™ ื”ื”ืฆื˜ืœื‘ื•ืช ืขื 'ืžืขื˜ืคืช' (envelope) ื”ืงืœื˜.\n- **envelope**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ื”ืžืขื˜ืคื” ื”ื ื‘ื“ืงืช.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"expects","bundle":"data-access","sinceVersion":"1.15","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#expects","description":"ืžื‘ืงืฉ ืžืืคื™ื™ื ื™ื ื ื•ืกืคื™ื ืขื‘ื•ืจ FeatureSet ื ืชื•ืŸ.","examples":"\n**ื“ื•ื’ืžื”**\n\nื‘ืงืฉื” ืฉืœ ื”ืฉื“ื” POPULATION ืขื‘ื•ืจ ื”ื™ืฉื•ื™ื•ืช ื‘ืืฉื›ื•ืœ\n\n```arcade\n// If the layer is clustered based on count,\n// only the OBJECTID field is requested by default.\n// To display the sum of the POPULATION field\n// for all features in the cluster, we must\n// explicitly request the POPULATION data. \nExpects($aggregatedFeatures, 'POPULATION')\nText(Sum($aggregatedFeatures, 'POPULATION'), '#,###')\n```\n\n","completion":{"label":"Expects","detail":"Expects(features, field1, [field2, ..., fieldN]?) -> Null","insertText":"Expects(${1:features_}, ${2:field1_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื‘ืงืฉ ืžืืคื™ื™ื ื™ื ื ื•ืกืคื™ื ืขื‘ื•ืจ FeatureSet ื ืชื•ืŸ.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ืกื˜ ื”ื™ืฉื•ื™ื•ืช ืฉืืœื™ื• ื™ืฉื•ื™ื›ื• ื”ืฉื“ื•ืช ื”ืžื‘ื•ืงืฉื™ื.\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ืฉื“ื” ืฉื™ืฉ ืœื‘ืงืฉ ืขื‘ื•ืจ ื”ื™ืฉื•ืช ื”ื ืชื•ื ื”. ืจืฉื™ืžื” ืจืง ืฉืœ ืฉื“ื•ืช ืฉื ื“ืจืฉื™ื ืœืฆื•ืจืš ืฉื™ืžื•ืฉ ื‘ื‘ื™ื˜ื•ื™. ืœืคื™ ื”ืฆื•ืจืš, ื ื™ืชืŸ ืœื‘ืงืฉ ืืช ื›ืœ ื”ืฉื“ื•ืช ื‘ืืžืฆืขื•ืช ื”ืชื• ื”ื›ืœืœื™ '*'. ืขื ื–ืืช, ื›ื“ืื™ ืœื”ื™ืžื ืข ืžืฉื™ืžื•ืฉ ื‘ื•, ื›ื“ื™ ืฉืœื ืœื”ืขืœื•ืช ื™ื•ืชืจ ืžื“ื™ ื ืชื•ื ื™ื, ืžื” ืฉืขืœื•ืœ ืœืคื’ื•ืข ื‘ื‘ื™ืฆื•ืขื™ ื”ื™ื™ืฉื•ื. ืขืจืš ื–ื” ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื˜ืงืกื˜ ืžื™ืœื•ืœื™ ื•ืœื ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžืฉืชื ื”.\n- **[field2, ..., fieldN]** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืจืฉื™ืžื” ืฉืœ ืฉืžื•ืช ืฉื“ื•ืช ืฉื™ืฉ ืœื‘ืงืฉ ืขื‘ื•ืจ ื”ื™ืฉื•ืช ื”ื ืชื•ื ื”. ืจืฉื™ืžื” ืจืง ืฉืœ ืฉื“ื•ืช ืฉื ื“ืจืฉื™ื ืœืฆื•ืจืš ืฉื™ืžื•ืฉ ื‘ื‘ื™ื˜ื•ื™. ืขืจื›ื™ื ืืœื” ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื˜ืงืกื˜ ืžื™ืœื•ืœื™ ื•ืœื ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืžืฉืชื ื™ื.\n\n**ืขืจืš ื”ื—ื–ืจื”**: Null"}},"parametersInfo":{"min":2,"max":-1}},[{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset1","description":"ืฆื•ืจ FeatureSet ื—ื“ืฉ ืžืชื•ืš JSON ื‘ื”ืชืื ืœืžืคืจื˜ ArcGIS REST. ื›ื“ื™ ืœืขื™ื™ืŸ ื‘ื“ื•ื’ืžื”, ืจืื” ืืช ืงื˜ืข ื”ืงื•ื“ ืœื”ืœืŸ.","examples":"\n**ื“ื•ื’ืžื”**\n\nืฆื•ืจ FeatureSet ืžืชื•ืš JSON.\n\n```arcade\n// JSON representation of the feature used in the snippet below\n// {\n// 'fields': [{\n// 'alias': 'RANK',\n// 'name': 'RANK',\n// 'type': 'esriFieldTypeInteger'\n// }, {\n// 'alias': 'ELEV_m',\n// 'name': 'ELEV_m',\n// 'type': 'esriFieldTypeInteger'\n// }],\n// 'spatialReference': { 'wkid': 4326 },\n// 'geometryType': 'esriGeometryPoint',\n// 'features': [{\n// 'geometry': {\n// 'spatialReference': { 'wkid': 4326 },\n// 'x': -151.0063,\n// 'y': 63.069\n// },\n// 'attributes': {\n// 'RANK': 1,\n// 'ELEV_m': 6168\n// }\n// }]\n// };\n// The Dictionary representation of the FeatureSet must be a serialized text value\nvar features = FeatureSet('{\"fields\":[{\"alias\":\"RANK\",\"name\":\"RANK\",\"type\":\"esriFieldTypeInteger\"},{\"alias\":\"ELEV_m\",\"name\":\"ELEV_m\",\"type\":\"esriFieldTypeInteger\"}],\"spatialReference\":{\"wkid\":4326},\"geometryType\":\"esriGeometryPoint\",\"features\":[{\"geometry\":{\"spatialReference\":{\"wkid\":4326},\"x\":-151.0063,\"y\":63.069},\"attributes\":{\"RANK\":1,\"ELEV_m\":6168}}]}')\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืฆื•ืจ FeatureSet ื—ื“ืฉ ืžืชื•ืš JSON ื‘ื”ืชืื ืœืžืคืจื˜ ArcGIS REST. ื›ื“ื™ ืœืขื™ื™ืŸ ื‘ื“ื•ื’ืžื”, ืจืื” ืืช ืงื˜ืข ื”ืงื•ื“ ืœื”ืœืŸ.\n\n**ืคืจืžื˜ืจ**\n\n- **definition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”-JSON ืฉืžืชืืจ ืกื˜ ื™ืฉื•ื™ื•ืช. ื”-JSON ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื‘ืขืœ ืกื“ืจืชื™ื•ืช ื›ืขืจืš ื˜ืงืกื˜.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.19","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset2","description":"ื™ื•ืฆืจ FeatureSet ื—ื“ืฉ ืžืชื•ืš ืžื™ืœื•ืŸ ื”ืžื™ื™ืฆื’ JSON ื‘ื”ืชืื ืœืžืคืจื˜ ArcGIS REST. ื›ื“ื™ ืœืขื™ื™ืŸ ื‘ื“ื•ื’ืžื”, ืจืื” ืืช ืงื˜ืข ื”ืงื•ื“ ืœื”ืœืŸ.","examples":"\n**ื“ื•ื’ืžื”**\n\nืฆื•ืจ FeatureSet ืžืžื™ืœื•ืŸ.\n\n```arcade\n// JSON representation of the feature used in the snippet below\nvar d = {\n fields: [{\n alias: 'RANK',\n name: 'RANK',\n type: 'esriFieldTypeInteger'\n }, {\n alias: 'ELEV_m',\n name: 'ELEV_m',\n type: 'esriFieldTypeInteger'\n }],\n spatialReference: { wkid: 4326 },\n geometryType: 'esriGeometryPoint',\n features: [{\n geometry: {\n spatialReference: { wkid: 4326 },\n x: -151.0063,\n y: 63.069\n },\n attributes: {\n RANK: 1,\n ELEV_m: 6168\n }\n }]\n };\nvar features = FeatureSet(d)\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.19](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื™ื•ืฆืจ FeatureSet ื—ื“ืฉ ืžืชื•ืš ืžื™ืœื•ืŸ ื”ืžื™ื™ืฆื’ JSON ื‘ื”ืชืื ืœืžืคืจื˜ ArcGIS REST. ื›ื“ื™ ืœืขื™ื™ืŸ ื‘ื“ื•ื’ืžื”, ืจืื” ืืช ืงื˜ืข ื”ืงื•ื“ ืœื”ืœืŸ.\n\n**ืคืจืžื˜ืจ**\n\n- **definition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ืžื™ืœื•ืŸ ืฉืžืชืืจ ืกื˜ ื™ืฉื•ื™ื•ืช.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}}],{"type":"function","name":"featuresetbyassociation","bundle":"data-access","sinceVersion":"1.9","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyassociation","description":"ืžื—ื–ื™ืจ ืืช ื›ืœ ื”ื™ืฉื•ื™ื•ืช ืฉืžืฉื•ื™ื›ื•ืช ืœื™ืฉื•ืช ื”ืงืœื˜ ื›-FeatureSet. ื–ื” ืกืคืฆื™ืคื™ ืœืชื”ืœื™ื›ื™ ืขื‘ื•ื“ื” ืฉืœ 'ืจืฉืช ืชืฉืชื™ืช'.","examples":"\n**ื“ื•ื’ืžืื•ืช**\n\nืžื—ื–ื™ืจ ืืช ื›ืœ ื”ื ื›ืกื™ื ืฉื™ืฉ ืœื”ื ืฉื™ื•ื›ื™ ืงื™ืฉื•ืจื™ื•ืช ืขื ื”ืžืกื•ืฃ ื”ืฆื“ื™ ื”ืชื—ืชื•ืŸ ืฉืœ ื”ืฉื ืื™.\n\n```arcade\nFeatureSetByAssociation($feature, 'connected', 'Low');\n```\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ืžื›ืฉื™ืจื™ื ื”ื—ืฉืžืœื™ื™ื ืฉืžืฉื•ื™ื›ื™ื ืœื™ืฉื•ืช\n\n```arcade\nvar allContent = FeatureSetByAssociation ($feature, \"content\");\nvar devicesRows = Filter(allContent, \"className = 'Electric Device'\");\nvar devicesCount = Count(devicesRows);\nreturn devicesCount;\n```\n\n","completion":{"label":"FeatureSetByAssociation","detail":"FeatureSetByAssociation(inputFeature, associationType, terminalName?) -> FeatureSet","insertText":"FeatureSetByAssociation(${1:inputFeature_}, ${2:associationType_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.9](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nืžื—ื–ื™ืจ ืืช ื›ืœ ื”ื™ืฉื•ื™ื•ืช ืฉืžืฉื•ื™ื›ื•ืช ืœื™ืฉื•ืช ื”ืงืœื˜ ื›-FeatureSet. ื–ื” ืกืคืฆื™ืคื™ ืœืชื”ืœื™ื›ื™ ืขื‘ื•ื“ื” ืฉืœ 'ืจืฉืช ืชืฉืชื™ืช'.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ื”ื™ืฉื•ืช ืžืžื ื” ื™ืฉ ืœืชืฉืืœ ืขื‘ื•ืจ ื›ืœ ื”ื™ืฉื•ื™ื•ืช ื”ืžืฉื•ื™ื›ื•ืช. ื™ืฉ ืœื”ื‘ื™ื ืืช ื”ื™ืฉื•ืช ื“ืจืš ืฉื™ืจื•ืช ื™ืฉื•ื™ื•ืช. ืื™ืŸ ืชืžื™ื›ื” ื‘ืื•ืกืคื™ ื™ืฉื•ื™ื•ืช.\n- **associationType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืกื•ื’ ื”ืฉื™ื•ืš ืขื ื”ื™ืฉื•ืช ืฉื™ืฉ ืœื”ื—ื–ื™ืจ. \n ืขืจื›ื™ื ืืคืฉืจื™ื™ื: `ืžื—ื•ื‘ืจ` \\| `ืžื›ืœ` \\| `ืชื•ื›ืŸ` \\| `ืžื‘ื ื”` \\| `ืžืฆื•ืจืฃ` \n ืขืจื›ื™ื ืืคืฉืจื™ื™ื ื ื•ืกืคื• ื‘ื’ืจืกื” 1.10: `junctionEdge` \\| `midspan`\n- **terminalName** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื™ืฉื™ื ืจืง ืœืกื•ื’ื™ ืฉื™ื•ืš 'ืžื—ื•ื‘ืจ'.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) \nืžื—ื–ื™ืจ FeatureSet ืฉืžื›ื™ืœ ื™ืฉื•ื™ื•ืช ืขื ืžืคืจื˜ ื”ืฉื“ื” ืฉืžืชื•ืืจ ื‘ื˜ื‘ืœื” ืœื”ืœืŸ.\n\n- **className**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ื”ืงื‘ื•ืฆื” ืžื‘ื•ืกืก ืขืœ ื”ืขืจืš ืฉืœ `TONETWORKSOURCEID` ืื• ืฉืœ `FROMNETWORKSOURCEID`.\n- **globalId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”-Global ID ืฉืœ ื”ื™ืฉื•ืช ื‘ื˜ื‘ืœื” ื”ืื—ืจื™ืช (ื›ืœื•ืžืจ, ื”ืขืจืš `TOGLOBALID` ืื• `FROMGLOBALID`).\n- **isContentVisible**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื™ื›ื•ืœ ืœื”ื™ื•ืช ืขืจืš `1` (ื ืจืื”) ืื• `0` (ืœื ื ืจืื”). ืขืจืš ื–ื” ืžื™ื™ืฆื’ ืืช ื”ื ืจืื•ืช ืฉืœ ื”ืชื•ื›ืŸ ื”ืžืฉื•ื™ืš ื•ื™ืฉื™ื ืจืง ืขื‘ื•ืจ ืฉื™ื•ื›ื™ ื”ื›ืœื”.\n- **objectId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื”-ObjectID ืฉืœ ื”ืฉื•ืจื” ื‘ื˜ื‘ืœื” ื”ืžืฉื•ื™ื›ืช.\n- **percentAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ื™ืฉื™ื ืœื’ื‘ื™ ืกื•ื’ื™ ื”ืฉื™ื•ืš 'ื˜ื•ื•ื— ื‘ื™ื ื•ื ื™' ื‘ืœื‘ื“. ืžื—ื–ื™ืจ ืžืกืคืจ ืขื ื ืงื•ื“ื” ืฆืคื” ื‘ื™ืŸ 0 ืœ-1 ื”ืžืฆื™ื™ืŸ ืืช ื”ืžื™ืงื•ื (ื›ื™ื—ืก) ืฉืœ ื”ืฆื•ืžืช ืœืื•ืจืš ื”ื’ื‘ื•ืœ.\n- **side**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื™ืฉื™ื ืœื’ื‘ื™ ืกื•ื’ื™ ื”ืฉื™ื•ืš 'ื’ื‘ื•ืœ ืฆื•ืžืช' ื‘ืœื‘ื“. ืžืฆื™ื™ืŸ ื‘ืื™ื–ื” ืฆื“ ื ืžืฆื ื”ืฆื•ืžืช.\n\nืขืจื›ื™ื ืืคืฉืจื™ื™ื: 'ืž:' ืื• 'ืขื“'"}},"parametersInfo":{"min":2,"max":3}},{"type":"function","name":"featuresetbyid","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyid","description":"ื™ื•ืฆืจ FeatureSet ืžืฉื›ื‘ืช ื™ืฉื•ื™ื•ืช ืœืคื™ ืžื–ื”ื” ื”ืฉื›ื‘ื” ื‘ืžืคื” ืื• ื‘ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ื‘ื‘ืงืฉื” ื•ืžื ื™ืขืช ื”ื›ืœืœื” ืฉืœ ื”ื’ื™ืื•ืžื˜ืจื™ื” ื™ื›ื•ืœื•ืช ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘ืฉื›ื‘ื” ืขื ื”ืžื–ื”ื” DemoLayerWM_1117 ื‘ืžืคื” ื”ื ืชื•ื ื”.\n\n```arcade\nvar features = FeatureSetById($map,'DemoLayerWM_1117', ['*'], true);\nCount( features );\n```\n\n","completion":{"label":"FeatureSetById","detail":"FeatureSetById(featureSetCollection, id, fields?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetById(${1:featureSetCollection_}, ${2:id_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื™ื•ืฆืจ FeatureSet ืžืฉื›ื‘ืช ื™ืฉื•ื™ื•ืช ืœืคื™ ืžื–ื”ื” ื”ืฉื›ื‘ื” ื‘ืžืคื” ืื• ื‘ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ื‘ื‘ืงืฉื” ื•ืžื ื™ืขืช ื”ื›ืœืœื” ืฉืœ ื”ื’ื™ืื•ืžื˜ืจื™ื” ื™ื›ื•ืœื•ืช ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **featureSetCollection**: [FeatureSetCollection](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection) - ื”ืžืคื” ืื• ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช ื”ืžื›ื™ืœื™ื ืฉื›ื‘ื” ืื—ืช ืื• ื™ื•ืชืจ ืฉืžืžื ื” ื™ืฉ ืœื™ืฆื•ืจ FeatureSet. ื‘ืจื•ื‘ ื”ืžืงืจื™ื, ื–ื”ื• ื”ืขืจืš ื”ื’ืœื•ื‘ืœื™ โ€Ž$map ืื• โ€Ž$datastore.\n- **id**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืžื–ื”ื” ื”ืฉื›ื‘ื” ื‘'ืžืคื”' ื”ื ืชื•ื ื”. ื™ืฉ ืœื™ืฆื•ืจ ืืช ื”ืฉื›ื‘ื” ื“ืจืš ืฉื™ืจื•ืช ื™ืฉื•ื™ื•ืช. ืื™ืŸ ืชืžื™ื›ื” ื‘ืื•ืกืคื™ ื™ืฉื•ื™ื•ืช. _ืฉื™ื ืœื‘ ืฉืขืจืš ื–ื” ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืขืจืš ื˜ืงืกื˜._\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ื”ืขืจื›ื™ื ืฉื™ืฉ ืœื›ืœื•ืœ ื‘-FeatureSet. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื›ืœ ื”ืฉื“ื•ืช ื ื›ืœืœื™ื. ื›ื“ื™ ืœื‘ืงืฉ ืืช ื›ืœ ื”ืฉื“ื•ืช ื‘ืฉื›ื‘ื”, ื”ื’ื“ืจ ืขืจืš ื–ื” ื›-['*']. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ืžืฉืคืจืช ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ืžืฆื™ื™ืŸ ืื ืœื›ืœื•ืœ ืืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ื‘ื™ืฉื•ื™ื•ืช. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื”ืขืจืš ื”ื•ื true. ืžืฉื™ืงื•ืœื™ ื‘ื™ืฆื•ืขื™ื, ืขืœื™ืš ืœื‘ืงืฉ ืืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ืจืง ืื ื”ื™ื ื ื—ื•ืฆื”, ื›ื’ื•ืŸ ืœืฉื™ืžื•ืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ื’ื™ืื•ืžื˜ืจื™ื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyname","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname","description":"ื™ื•ืฆืจ FeatureSet ืžืฉื›ื‘ืช ื™ืฉื•ื™ื•ืช ืœืคื™ ื”ืฉื ื‘ืžืคื” ืื• ื‘ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช. ื–ื›ื•ืจ ืฉืฉื ื–ื” ืœื ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื™ื™ื—ื•ื“ื™. ืœื›ืŸ ืžื•ืžืœืฅ ืœื™ืฆื•ืจ FeatureSet ื‘ืืžืฆืขื•ืช `FeatureSetById()`. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ื‘-FeatureSet ื•ื”ื—ืจื’ืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ื™ื›ื•ืœื•ืช ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ืžืกืคืจ ื”ื™ืฉื•ื™ื•ืช ื‘ืฉื›ื‘ื” ื‘ืขืœื•ืช ื”ื›ื•ืชืจืช 'ืžืกืœื•ืœื™ ืื•ืคื ื™ื™ื' ื‘ืžืคื” ื”ื ืชื•ื ื”.\n\n```arcade\nvar features = FeatureSetByName($map,'Bike routes', ['*'], true);\nCount(features);\n```\n\n","completion":{"label":"FeatureSetByName","detail":"FeatureSetByName(featureSetCollection, title, fields?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByName(${1:featureSetCollection_}, ${2:title_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื™ื•ืฆืจ FeatureSet ืžืฉื›ื‘ืช ื™ืฉื•ื™ื•ืช ืœืคื™ ื”ืฉื ื‘ืžืคื” ืื• ื‘ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช. ื–ื›ื•ืจ ืฉืฉื ื–ื” ืœื ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื™ื™ื—ื•ื“ื™. ืœื›ืŸ ืžื•ืžืœืฅ ืœื™ืฆื•ืจ FeatureSet ื‘ืืžืฆืขื•ืช `FeatureSetById()`. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ื‘-FeatureSet ื•ื”ื—ืจื’ืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ื™ื›ื•ืœื•ืช ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **featureSetCollection**: [FeatureSetCollection](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection) - ื”ืžืคื” ืื• ืฉื™ืจื•ืช ื”ื™ืฉื•ื™ื•ืช ื”ืžื›ื™ืœื™ื ืฉื›ื‘ื” ืื—ืช ืื• ื™ื•ืชืจ ืฉืžืžื ื” ื™ืฉ ืœื™ืฆื•ืจ FeatureSet. ื‘ืจื•ื‘ ื”ืžืงืจื™ื, ื–ื”ื• ื”ืขืจืš ื”ื’ืœื•ื‘ืœื™ โ€Ž$map ืื• โ€Ž$datastore.\n- **title**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ื›ื•ืชืจืช ื”ืฉื›ื‘ื” ื‘'ืžืคื”' ื”ื ืชื•ื ื”. ื™ืฉ ืœื™ืฆื•ืจ ืืช ื”ืฉื›ื‘ื” ื“ืจืš ืฉื™ืจื•ืช ื™ืฉื•ื™ื•ืช. ืื™ืŸ ืชืžื™ื›ื” ื‘ืื•ืกืคื™ ื™ืฉื•ื™ื•ืช. _ืฉื™ื ืœื‘ ืฉืขืจืš ื–ื” ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืขืจืš ื˜ืงืกื˜._\n- **fields** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ื”ืขืจื›ื™ื ืฉื™ืฉ ืœื›ืœื•ืœ ื‘-FeatureSet. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื›ืœ ื”ืฉื“ื•ืช ื ื›ืœืœื™ื. ื›ื“ื™ ืœื‘ืงืฉ ืืช ื›ืœ ื”ืฉื“ื•ืช ื‘ืฉื›ื‘ื”, ื”ื’ื“ืจ ืขืจืš ื–ื” ื›-['*']. ื”ื’ื‘ืœืช ืžืกืคืจ ื”ืฉื“ื•ืช ืžืฉืคืจืช ืืช ื‘ื™ืฆื•ืขื™ ื”ืกืงืจื™ืคื˜.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ืžืฆื™ื™ืŸ ืื ืœื›ืœื•ืœ ืืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ื‘ื™ืฉื•ื™ื•ืช. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื”ืขืจืš ื”ื•ื true. ืžืฉื™ืงื•ืœื™ ื‘ื™ืฆื•ืขื™ื, ืขืœื™ืš ืœื‘ืงืฉ ืืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ืจืง ืื ื”ื™ื ื ื—ื•ืฆื”, ื›ื’ื•ืŸ ืœืฉื™ืžื•ืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ื’ื™ืื•ืžื˜ืจื™ื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyrelationshipclass","bundle":"data-access","sinceVersion":"1.24","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass","description":"ื”ื—ื–ืจืช ื”ืจืฉื•ืžื•ืช ื”ืงืฉื•ืจื•ืช ืขื‘ื•ืจ ื™ืฉื•ืช ื ืชื•ื ื” ืขืœ ื‘ืกื™ืก ื”ืฉื ืฉืœ ืงื‘ื•ืฆืช ืงื™ืฉื•ืจ ื ืชื•ื ื”.","examples":"\n**ื“ื•ื’ืžื”**\n\nื”ื—ื–ืจืช ืžืกืคืจ ื”ืจืฉื•ืžื•ืช ื”ืงืฉื•ืจื•ืช ืœื‘ื“ื™ืงืช ืงื˜ื‘ื™ื.\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, โ€œpole_inspectionโ€, [โ€œcommentsโ€], false);\nreturn Count(fsinspected);\n```\n\n","completion":{"label":"FeatureSetByRelationshipClass","detail":"FeatureSetByRelationshipClass(inputFeature, relationshipClass, fieldNames?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByRelationshipClass(${1:inputFeature_}, ${2:relationshipClass_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[ืžืื– ื’ืจืกื” 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nื”ื—ื–ืจืช ื”ืจืฉื•ืžื•ืช ื”ืงืฉื•ืจื•ืช ืขื‘ื•ืจ ื™ืฉื•ืช ื ืชื•ื ื” ืขืœ ื‘ืกื™ืก ื”ืฉื ืฉืœ ืงื‘ื•ืฆืช ืงื™ืฉื•ืจ ื ืชื•ื ื”.\n\n**ืคืจืžื˜ืจื™ื**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ื”ื™ืฉื•ืช ืžืžื ื” ื™ืฉ ืœืื—ื–ืจ ืจืฉื•ืžื•ืช ืงืฉื•ืจื•ืช.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ืฉื ืงื‘ื•ืฆืช ื”ืงื™ืฉื•ืจ ื›ืคื™ ืฉืžื•ื’ื“ืจ ื‘ืžืงื•ืจ ื”ื ืชื•ื ื™ื.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - ื”ืฉื“ื•ืช ืฉื™ืฉ ืœืื—ื–ืจ ื‘-FeatureSet. ืจืฉื™ืžื” ื–ื• ื›ื•ืœืœืช ืฉื“ื•ืช ืžื˜ื‘ืœืช ื”ืงื™ืฉื•ืจื™ื ื•ืžื™ืฉื•ืช ื”ืงืœื˜.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - ืžืฆื™ื™ืŸ ืื ืœื”ื—ื–ื™ืจ ืืช ื”ื’ื™ืื•ืžื˜ืจื™ื” ืขื‘ื•ืจ ื™ืฉื•ื™ื•ืช ื”ืชื•ืฆืื”.\n\n**ืขืจืš ื”ื—ื–ืจื”**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n**ืžืฉืื‘ื™ื ื ื•ืกืคื™ื**\n\n* [Attribute rules and relationship classes](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rules-and-relationship-classes.htm)\n"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"featuresetbyrelationshipname","bundle":"data-access","sinceVersion":"1.8","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipname","description":"ืžื—ื–ื™ืจ ืืช ื”ืจืฉื•ืžื•ืช ื”ืงืฉื•ืจื•ืช ืขื‘ื•ืจ ื™ืฉื•ืช ื ืชื•ื ื” ื›-FeatureSet.","examples":"\n**ื“ื•ื’ืžื”**\n\nืžื—ื–ื™ืจ ืืช ื”ืกื›ื•ื ืฉืœ ืžืกืคืจ ืฉื“ื•ืช ืžื›ืœ ื”ืจืฉื•ืžื•ืช ื”ืงืฉื•ืจื•ืช\n\n```arcade\nvar results = FeatureSetByRelationshipName($feature, 'Election_Results', ['*'], false)\nSum(results, 'democrat + republican + other')\n```\n\n","completion":{"label":"FeatureSetByRelationshipName","detail":"FeatureSetByRelationshipName(inputFeature, relationshipName, fieldNames?, includeGeometry?) -> FeatureSet","insertText":"FeatureSetByRelationshipName(${1:inputFeature_}, ${2:relationshipName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{