(x: any)
| 173 | } |
| 174 | const locValidator = createValidator(); |
| 175 | const isValidLoc = (x: any) => x === null || isNumber(x); |
| 176 | locValidator.validateProperty(location, 'latitude', isValidLoc, location); |
| 177 | locValidator.validateProperty(location, 'longitude', isValidLoc, location); |
| 178 | return locValidator.errors.length === 0; |
nothing calls this directly
no test coverage detected
searching dependent graphs…