parsePropertyId
Official
Split a Bases property ID into constituent parts.
Import:
import { parsePropertyId } from 'obsidian';Signature:
function parsePropertyId(propertyId: `note.${string}` | `formula.${string}` | `file.${string}`): BasesPropertyParameters:
| Parameter | Type | Description |
|---|---|---|
propertyId | note.$\{[string](https://www.typescriptlang.org/docs/handbook/basic-types.html#string)\} | formula.$\{[string](https://www.typescriptlang.org/docs/handbook/basic-types.html#string)\} | file.$\{[string](https://www.typescriptlang.org/docs/handbook/basic-types.html#string)\} |
Returns: BasesProperty