UNPKG

@barchart/common-js

Version:
9 lines (8 loc) 218 B
/** * Determines whether the current browser context is using a secure protocol. * * @public * @param {boolean=} secure * @returns {boolean} */ export function getIsSecure(secure?: boolean | undefined): boolean;