isValidSeoCollectionSortKey function
Whether sortKey has identical integer semantics on VM and JavaScript.
Implementation
bool isValidSeoCollectionSortKey(int sortKey) =>
sortKey >= -seoCollectionMaxSortKey && sortKey <= seoCollectionMaxSortKey;