Properties
rating
readonly rating: string
Returns the unique identifying key for a rating that is a valid rating
within the ratings system returned by ratingsSystem.
Todo
- point to documentation for ratings scales of supported ratings systems
ratingsSystem
readonly ratingsSystem: string
Returns the unique identifying key for a “ratings system”, an specific
industry ratings standard.
Todo
- point to documentation for supported ratings systems
Methods
isLessOrEquallyRestrictiveThan()
isLessOrEquallyRestrictiveThan(other): Promise<boolean>
Compares two ratings levels to determine whether one is less-or-equally
as restrictive as another. Note, this is a partial function over the
domain of IContentRatingLevel objects; only rating levels of the same
ratings system may be compared.
Parameters
other
IContentRatingLevel
Returns
Promise<boolean>
true if this object is less restrictive or equally restrictive
to other else false.

