function to resolve the mapped type
boolean to resolve the type
type to return if isTrue is true
type to return if isTrue is false
v1.0.0
function to resolve the mapped type