---
title: "isKeyExcluded(fromWebScript:)"
framework: objectivec
role: symbol
role_heading: Type Method
path: "objectivec/nsobject-swift.class/iskeyexcluded(fromwebscript:)"
---

# isKeyExcluded(fromWebScript:)

Returns whether a key should be hidden from the scripting environment.

## Declaration

```swift
class func isKeyExcluded(fromWebScript name: UnsafePointer<CChar>!) -> Bool
```

## Parameters

- `name`: The name of the attribute.

## Return Value

Return Value YES if the attribute specified by name should be hidden from the scripting environment; otherwise, NO.

## Discussion

Discussion The default value is YES.

## See Also

### Getting attributes

- [webScriptName(forKey:)](objectivec/nsobject-swift.class/webscriptname(forkey:).md)
- [webScriptName(for:)](objectivec/nsobject-swift.class/webscriptname(for:).md)
- [isSelectorExcluded(fromWebScript:)](objectivec/nsobject-swift.class/isselectorexcluded(fromwebscript:).md)
