isValidSeoCollectionSortKey function

bool isValidSeoCollectionSortKey(
  1. int sortKey
)

Whether sortKey has identical integer semantics on VM and JavaScript.

Implementation

bool isValidSeoCollectionSortKey(int sortKey) =>
    sortKey >= -seoCollectionMaxSortKey && sortKey <= seoCollectionMaxSortKey;