メインコンテンツまでスキップ
バージョン:25.2

keys

*Function

Returns a list of the keys of every property in a property list. For the sake of consistent results, SenseTalk returns the keys in alphabetical order.

Examples:

set scores to {dan:21, betty:12, carl:13, ann:21, sue:18}
put keys(scores) --> ["ann","betty","carl","dan","sue"]

Terms in the SenseTalk Dictionary related to the keys function:

  • values, keyForValue, allKeysForValue

Keyword

  • is among the keys of