UNPKG

@matt-block/react-native-in-app-browser

Version:
13 lines (12 loc) 372 B
/** * Copyright (c) 2018-2020, Matei Bogdan Radu <opensource@mateiradu.dev> * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ /** * Checks if a url is HTTP or HTTPS. * * Other protocols are not supported by both platforms. */ export declare function isUrlValid(url: string): boolean;