MCPcopy Index your code
hub / github.com/angular/components / getSortInvalidDirectionError

Function getSortInvalidDirectionError

src/material/sort/sort-errors.ts:25–27  ·  view source on GitHub ↗
(direction: string)

Source from the content-addressed store, hash-verified

23
24/** @docs-private */
25export function getSortInvalidDirectionError(direction: string): Error {
26 return Error(`${direction} is not a valid sort direction ('asc' or 'desc').`);
27}

Callers 2

directionMethod · 0.90
sort.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…