dist/@ajsf/core/esm2015/lib/shared/jsonpointer.functions.js
/**
     * 'isJsonPointer' function
     *
     * Checks a string or array value to determine if it is a valid JSON Pointer.
     * Returns true if a string is empty, or starts with '/' or '#/'.
     * Returns true if an array contains only string values.
     *
     * //   value - value to check
     * // { boolean } - true if value is a valid JSON Pointer, otherwise false
     */
'isJsonPointer' function
Checks a string or array value to determine if it is a valid JSON Pointer.
Returns true if a string is empty, or starts with '/' or '#/'.
Returns true if an array contains only string values.

value to check
{ boolean } - true if value is a valid JSON Pointer, otherwise false
' isJsonPointer ' function Checks a string or array value to determine if it is a valid JSON Pointer . Returns true if a string is empty or starts with ' / ' or ' # / ' . Returns true if an array contains only string values . value to check { boolean } - true if value is a valid JSON Pointer otherwise false
static isJsonPointer(value) {
        if (isArray(value)) {
            return value.every(key => typeof key === 'string');
        }
        else if (isString(value)) {
            if (value === '' || value === '#') {
                return true;
            }
            if (value[0] === '/' || value.slice(0, 2) === '#/') {
                return !/(~[^01]|~$)/g.test(value);
            }
        }
        return false;
    }
static isJsonPointer ( value ) { if ( isArray ( value ) ) { return value . every ( key => typeof key === 'string' ) ; } else if ( isString ( value ) ) { if ( value === '' || value === '#' ) { return true ; } if ( value [ 0 ] === '/' || value . slice ( 0 , 2 ) === '#/' ) { return ! / (~[^01]|~$) / g . test ( value ) ; } } return false ; }
'isJsonPointer' function
 Checks a string or array value to determine if it is a valid JSON Pointer.
' isJsonPointer ' function Checks a string or array value to determine if it is a valid JSON Pointer .