Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baiwumm/react-admin
/ toValidate
Method
toValidate
Xmw_server/src/pipe/validation.pipe.ts:38–41 ·
view source on GitHub ↗
(metatype: any)
Source
from the content-addressed store, hash-verified
36
return
value;
37
}
38
private toValidate(metatype: any): boolean {
39
const
types: any[] = [String, Boolean, Number, Array, Object];
40
return
!types.includes(metatype);
41
}
42
}
Callers
1
transform
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected