File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -275,13 +275,13 @@ export const isLayout = (uischema: UISchemaElement): uischema is Layout =>
275275 ( uischema as Layout ) . elements !== undefined ;
276276
277277export const isScopable = ( obj : unknown ) : obj is Scopable =>
278- obj && typeof obj === 'object' ;
278+ ! ! obj && typeof obj === 'object' ;
279279
280280export const isScoped = ( obj : unknown ) : obj is Scoped =>
281281 isScopable ( obj ) && typeof obj . scope === 'string' ;
282282
283283export const isLabelable = ( obj : unknown ) : obj is Labelable =>
284- obj && typeof obj === 'object' ;
284+ ! ! obj && typeof obj === 'object' ;
285285
286286export const isLabeled = < T = never > ( obj : unknown ) : obj is Labeled < T > =>
287287 isLabelable ( obj ) && [ 'string' , 'boolean' ] . includes ( typeof obj . label ) ;
You can’t perform that action at this time.
0 commit comments