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

retaining

  • operator

  • retaining properties

  • Generates a modified property list on the fly by removing properties from a property list, keeping only the properties that are specifically retained..

  • Examples: +

     set newObj to {A:1, B:2, C:3}
    put newObj retaining properties ["A","C","F"] —> {A:1, C:3}
  • Related: retain properties