- Get link
- Other Apps
posts[i]. allowNewComments
Whether new comments are allowed to be made on the post.
Users can configure comments to be one of the following:
Users can configure comments to be one of the following:
- New comments allowed
- No new comments allow, but show existing comments
- Don't show comments.
allowNewComments is true if the first option is selected.
Note the difference with allowComments, which is also true if the second option is selected, and false otherwise.
posts[i]. allowNewComments is a member of the Blog Posts dictionary.
allowNewComments has data type boolean
Boolean data is simply true or false.Note that any data reference can be coerced into a boolean, which will be true if the data exists.
Operators
The following operators apply to the boolean data type.boolean1 and boolean2
(Also supported with the syntax&&
)
Returns a boolean which is true if both of the given booleans are true.
boolean1 or boolean2
(Also supported with the syntax||
)
Returns a boolean which is true if either of the given booleans are true.