UNPKG

@refinedev/core

Version:

refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.

6 lines (5 loc) 177 B
export const propertyPathToArray = (propertyPath: string) => { return propertyPath .split(".") .map((item) => (!Number.isNaN(Number(item)) ? Number(item) : item)); };