Синтаксис react native Пример 1
scrollTo( options?: { x?: number, y?: number, animated?: boolean } | number, deprecatedX?: number, deprecatedAnimated?: boolean, ); The optional chaining operator ?. permits reading the value of a property located deep within a chain of connected objects without having to expressly validate that each reference in the chain is valid. The ?. operator functions similarly