UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

11 lines 367 B
export function checkKey(key) { if (typeof key !== 'string') { throw new Error("key: '" + key + "' must be a string"); } } export function ensureValidValue(value, valueType) { if (typeof value !== valueType) { throw new Error("value: '" + value + "' must be a " + valueType); } } //# sourceMappingURL=application-settings-common.js.map