isAttributeSource
isAttributeSource<
T>(source):source is { attribute: string; default?: T }
Defined in: packages/sigma/src/rendering/nodes/types.ts:240
Type guard to check if a ValueSource is an attribute reference.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”source
Section titled “source”ValueSource<T>
Returns
Section titled “Returns”source is { attribute: string; default?: T }