UNPKG

atriusmaps-node-sdk

Version:

This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information

2 lines (1 loc) 345 B
function n(e,t,o,r){let u=t;o&&(u+="-"+o);const f=e[u];return f||(o?o.indexOf("-")>0?n(e,t,o.substring(0,o.indexOf("-")),r):n(e,t,null,r):r)}function e(n,e){if(!n.config.debug)return!1;let t=n.config.debug[e];return null!=t&&!1!==t&&(!0===t||(t=t.toLowerCase?t.toLowerCase():t,"no"!==t&&"false"!==t))}export{e as debugIsTrue,n as getLocalized};