Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/toPath.js";

Converts value to a property path array.

Examples

_.toPath('a.b.c'); // => ['a', 'b', 'c']

_.toPath('a[0].b.c'); // => ['a', '0', 'b', 'c']

Parameters

value

The value to convert.