Skip to content

badPath

badPath(v, depth?, at?): string | null

Where a value breaks the shape limits: the path of the first bad part (“mobs.12.name”, “” for the value itself), or null when it is fine.

unknown

number = 0

string = ""

string | null