({ schema, self })
| 2855 | (0, boolSchema_1.boolOrEmptySchema)(it, valid); |
| 2856 | } |
| 2857 | function schemaCxtHasRules({ schema, self }) { |
| 2858 | if (typeof schema == "boolean") |
| 2859 | return !schema; |
| 2860 | for (const key in schema) |
| 2861 | if (self.RULES.all[key]) |
| 2862 | return true; |
| 2863 | return false; |
| 2864 | } |
| 2865 | function isSchemaObj(it) { |
| 2866 | return typeof it.schema != "boolean"; |
| 2867 | } |
no outgoing calls
no test coverage detected