MCPcopy Create free account
hub / github.com/ampproject/amphtml / isNativeDisabledInRequest

Function isNativeDisabledInRequest

third_party/subscriptions-project/swg.js:17796–17798  ·  view source on GitHub ↗

* Whether the request specifies that the native support has to be disabled. * * @param {!IsReadyToPayRequest|!PaymentDataRequest} request * @return {boolean}

(request)

Source from the content-addressed store, hash-verified

17794 * @return {boolean}
17795 */
17796function isNativeDisabledInRequest(request) {
17797 return (request['i'] && request['i']['disableNative']) === true;
17798}
17799
17800/**
17801 * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.

Callers 3

isReadyToPay_Method · 0.85
prefetchPaymentDataMethod · 0.85
loadPaymentDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected