Условие публичности плейлиста #167
Answered
by
Chimildic
Bondian
asked this question in
Помощь с алгоритмом
Replies: 1 comment 1 reply
-
let tracks = // ...
Playlist.saveWithReplace({
// ...
public: tracks.length > 10,
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Bondian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Существует ли возможность прописывать зависимость публичности плейлиста от неких условий? Например, если количество треков в плейлисте меньше десяти, то плейлист - не публичный, и наоборот.
Beta Was this translation helpful? Give feedback.
All reactions