nl_tokens: Deletes the metadata entry from the target object with the provided key . @param metadataKey A key used to store and retrieve metadata . @param target The target object on which the metadata is defined . @param propertyKey ( Optional ) The property key for the target . @returns true if the metadata entry was found and deleted ; otherwise false . @example
pl_tokens: function deleteMetadata ( metadataKey , target , propertyKey ) { if ( ! IsObject ( target ) ) throw new TypeError ( ) ; if ( ! IsUndefined ( propertyKey ) ) propertyKey = ToPropertyKey ( propertyKey ) ; var metadataMap = GetOrCreateMetadataMap ( target , propertyKey , /*Create*/ false ) ; if ( IsUndefined ( metadataMap ) ) return false ; if ( ! metadataMap . delete ( metadataKey ) ) return false ; if ( metadataMap . size > 0 ) return true ; var targetMetadata = Metadata . get ( target ) ; targetMetadata . delete ( propertyKey ) ; if ( targetMetadata . size > 0 ) return <mask> ; Metadata . delete ( target ) ; return true ; }