MCPcopy Create free account
hub / github.com/angular/components / tabIndexTransform

Function tabIndexTransform

src/aria/private/utils/transforms.ts:15–17  ·  view source on GitHub ↗
(v: string | number | undefined)

Source from the content-addressed store, hash-verified

13 * Returns undefined if the value is undefined, otherwise converts it to a number.
14 */
15export function tabIndexTransform(v: string | number | undefined): number | undefined {
16 return v === undefined ? undefined : numberAttribute(v);
17}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected