A valid path is a property name, a dot-separated set of property names or an array of property names.
An environment property name must be a sequence of ASCII characters that can contain letters a-zA-Z,
$, _, and digits 0-9, but may not start with a digit.
Returns
true if the value is a valid path, otherwise false.
Checks if the value is a valid path.
A valid path is a property name, a dot-separated set of property names or an array of property names. An environment property name must be a sequence of ASCII characters that can contain letters
a-zA-Z
,$
,_
, and digits0-9
, but may not start with a digit.Returns
true
if the value is a valid path, otherwisefalse
.